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 d4392b5 commit 982bcc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export default defineConfig({
resolvers: [ElementPlusResolver()],
}),
],
base: process.env.NODE_ENV === 'production'
? 'https://img.lonesome.cn/jhwl/project/questionnaire/'
: '/',
server: {
proxy: {
'/api': {
Expand Down

0 comments on commit 982bcc7

Please sign in to comment.