fix 文档管理模块 & 法规对话模块
This commit is contained in:
@@ -4,7 +4,7 @@ import react from '@vitejs/plugin-react'
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig(({ mode }) => {
|
||||
const env = loadEnv(mode, process.cwd(), '')
|
||||
const apiHost = env.API_HOST || 'localhost'
|
||||
const apiHost = env.API_HOST || '6.86.80.8'
|
||||
const apiPort = env.API_PORT || '8000'
|
||||
const proxyTarget = env.VITE_API_PROXY_TARGET || `http://${apiHost}:${apiPort}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user