mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-23 23:39:47 +08:00
fix(projects): 修复 BASE_URL 没有生效的问题
This commit is contained in:
@ -6,7 +6,7 @@ export default defineConfig(configEnv => {
|
||||
const viteEnv = loadEnv(configEnv.mode, `.env.${configEnv.mode}`);
|
||||
|
||||
return {
|
||||
base: viteEnv.BASE_URL,
|
||||
base: viteEnv.VITE_APP_BASE_URL,
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
||||
|
Reference in New Issue
Block a user