Skip to content

Commit

Permalink
Update vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
xixiIBN5100 authored Sep 5, 2024
1 parent d4ded37 commit 29c3035
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default defineConfig({
plugins: [
vue(),
],
base: process.env.NODE_ENV ==='https://img.lonesome.cn/jhwl/project/questionnaire/',
server:{
proxy:{
'/api':{
Expand All @@ -21,4 +22,4 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})
})

0 comments on commit 29c3035

Please sign in to comment.