From 2264447843fb7c10e7d2979e993f3b3079d07b36 Mon Sep 17 00:00:00 2001 From: Jerry <18556134754@163.com> Date: Wed, 24 Apr 2024 16:22:47 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=20=E4=BC=98=E5=8C=96=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E6=B5=81=E7=A8=8B=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index a5ec229..5285170 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -18,7 +18,7 @@ function resolve(src: string): string { return fileURLToPath(new URL(src, import.meta.url)); } -function getBase(env: string): string { +function getBase(env?: string): string { let base = '/'; switch (env) { case 'production':