Skip to content

Commit 97171a3

Browse files
committed
fix: 本地url路由前缀和线上保持一致
1 parent 135a4f4 commit 97171a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import react from '@vitejs/plugin-react'
33

44
// https://vite.dev/config/
55
export default defineConfig({
6-
base: process.env.NODE_ENV === 'production' ? '/ai-coding-prompt-builder/' : '/',
6+
base: '/ai-coding-prompt-builder/',
77
plugins: [react()],
88
})

0 commit comments

Comments
 (0)