update:打包配置

This commit is contained in:
2025-12-23 15:58:48 +08:00
parent 97f230d2ac
commit d2e79512f1
2 changed files with 5 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ const remoteList = {
localPath: './dist',
},
};
console.log('打包环境:', remoteName);
const config = remoteList[remoteName];
if (!remoteName || !config) {
console.error('找不到对应环境!');

View File

@@ -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 BASE_URL = '/spdmApi/honeycom-spdm'; // baseUrl