portal commit
This commit is contained in:
@@ -12,7 +12,7 @@ export default defineConfig(({ mode, command }) => {
|
||||
return {
|
||||
// 部署生产环境和开发环境下的URL。
|
||||
// 默认情况下,vite 会假设你的应用是被部署在一个域名的根路径上
|
||||
base: VITE_APP_ENV === 'production' ? '/' : '/',
|
||||
base: VITE_APP_ENV === 'production' ? env?.VITE_APP_BASE_URL || '/idp/' : env?.VITE_APP_BASE_URL || '/',
|
||||
plugins: createVitePlugins(env, command === 'build'),
|
||||
resolve: {
|
||||
// https://cn.vitejs.dev/config/#resolve-alias
|
||||
|
||||
Reference in New Issue
Block a user