Skip to content

Commit

Permalink
add url base
Browse files Browse the repository at this point in the history
  • Loading branch information
op200 committed Jan 20, 2025
1 parent 9a7912b commit f216fef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url))
},
},
base: process.env.NODE_ENV === 'production' ? '/synchrsub/' : '/', // 添加 base 配置
})

0 comments on commit f216fef

Please sign in to comment.