update:打包配置
This commit is contained in:
@@ -20,7 +20,7 @@ const remoteList = {
|
|||||||
localPath: './dist',
|
localPath: './dist',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
console.log('打包环境:', remoteName);
|
||||||
const config = remoteList[remoteName];
|
const config = remoteList[remoteName];
|
||||||
if (!remoteName || !config) {
|
if (!remoteName || !config) {
|
||||||
console.error('找不到对应环境!');
|
console.error('找不到对应环境!');
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
// // 生产环境
|
||||||
|
// export const SPDM_URL = 'http://192.168.190.161:3000'; // SPDM项目地址
|
||||||
|
// export const BASE_URL = '/spdmApi/honeycom-spdm'; // baseUrl
|
||||||
|
|
||||||
// 测试环境
|
// 测试环境
|
||||||
export const SPDM_URL = 'http://192.168.65.161:3000'; // SPDM项目地址
|
export const SPDM_URL = 'http://192.168.65.161:3000'; // SPDM项目地址
|
||||||
export const BASE_URL = '/spdmApi/honeycom-spdm'; // baseUrl
|
export const BASE_URL = '/spdmApi/honeycom-spdm'; // baseUrl
|
||||||
|
|||||||
Reference in New Issue
Block a user