This commit is contained in:
parent
b55b56c9cb
commit
e4e4fb774e
|
|
@ -9,7 +9,7 @@ export default defineConfig(({ mode }) => {
|
|||
const env = loadEnv(mode, process.cwd(), '')
|
||||
|
||||
return {
|
||||
base: '/xyqj/admin/',
|
||||
// base: '/xyqj/admin/',
|
||||
plugins: [
|
||||
vue()
|
||||
// 暂时禁用自动导入插件来解决兼容性问题
|
||||
|
|
|
|||
|
|
@ -19,11 +19,17 @@ const ENV = {
|
|||
STATIC_BASE_URL: 'https://api.xyqinjia.com',
|
||||
ADMIN_API_BASE_URL: 'https://admin-api.xyqinjia.com/',
|
||||
SIGNALR_URL: 'wss://api.xyqinjia.com/hubs/chat'
|
||||
},
|
||||
test: {
|
||||
API_BASE_URL: 'https://api.wtd.shhmkjgs.cn/api/app',
|
||||
STATIC_BASE_URL: 'https://api.wtd.shhmkjgs.cn',
|
||||
ADMIN_API_BASE_URL: 'https://admin.wtd.shhmkjgs.cn/',
|
||||
SIGNALR_URL: 'wss://api.wtd.shhmkjgs.cn/hubs/chat'
|
||||
}
|
||||
}
|
||||
|
||||
// 当前环境 - 开发时使用 development,打包时改为 production
|
||||
const CURRENT_ENV = 'production'
|
||||
const CURRENT_ENV = 'test'
|
||||
|
||||
// 导出配置
|
||||
export const config = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user