1 parent bebc1a3 commit b7a1575Copy full SHA for b7a1575
1 file changed
vite.config.ts
@@ -7,7 +7,7 @@ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
7
8
// https://vitejs.dev/config/
9
export default defineConfig({
10
- base: './',
+ base: process.env.NODE_ENV === 'production' ? '/chatlog-session/' : '/',
11
plugins: [
12
vue(),
13
AutoImport({
0 commit comments