mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-10-23 18:57:07 +08:00
chore: 优化部分配置
This commit is contained in:
@@ -32,7 +32,7 @@ export default defineConfig(({ command, mode }) => {
|
||||
target: env.VITE_API_BASE_URL, // 后台服务器地址
|
||||
changeOrigin: true, // 是否允许不同源
|
||||
secure: false, // 支持https
|
||||
rewrite: (path) => path.replace(/^\/api/, '/')
|
||||
rewrite: (path) => path.replace(/^\/api/, '')
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user