feat(aihr): finalize practice growth and access boundaries
This commit is contained in:
@@ -5,7 +5,7 @@ import path from 'path';
|
||||
|
||||
export default defineConfig(({ mode, command }) => {
|
||||
const env = loadEnv(mode, process.cwd());
|
||||
const proxyTarget = env.VITE_APP_PROXY_TARGET || 'https://wygj-api.localhost';
|
||||
const proxyTarget = process.env.VITE_APP_PROXY_TARGET || env.VITE_APP_PROXY_TARGET || 'https://wygj-api.localhost';
|
||||
return {
|
||||
// 部署生产环境和开发环境下的URL。
|
||||
// 默认情况下,vite 会假设你的应用是被部署在一个域名的根路径上
|
||||
|
||||
Reference in New Issue
Block a user