From 6440c405082a56831bba50c77bf42f8bf2ca8e49 Mon Sep 17 00:00:00 2001 From: Kia King Ishii Date: Fri, 5 Feb 2021 21:32:15 +0900 Subject: [PATCH] fix: `base` option not working on dev mode --- src/node/server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/server.ts b/src/node/server.ts index a4f9e91426c3..1a87f0b71371 100644 --- a/src/node/server.ts +++ b/src/node/server.ts @@ -10,6 +10,7 @@ export async function createServer( return createViteServer({ root, + base: config.site.base, // logLevel: 'warn', plugins: createVitePressPlugin(root, config), server: serverOptions