LuTong hace 2 meses
padre
commit
9183d5cba5
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      vite.config.ts

+ 2 - 1
vite.config.ts

@@ -20,7 +20,8 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
   const viteEnv = wrapperEnv(env);
 
   return {
-    base: viteEnv.VITE_PUBLIC_PATH,
+    base: mode === "test" ? "/group_lawyer_web/" : "/",
+    # base: viteEnv.VITE_PUBLIC_PATH,
     root,
     resolve: {
       alias: {