Browse Source

FS_PEP_DOMAIN

master
wenlele 2 years ago
parent
commit
d30bb5a2c6
  1. 6
      web/config.js

6
web/config.js

@ -28,7 +28,7 @@ const flags = args.parse(process.argv);
const API_URL = process.env.API_URL || flags.apiUrl; const API_URL = process.env.API_URL || flags.apiUrl;
const API_DC_URL = process.env.API_DC_URL || flags.apiHrUrl; const API_DC_URL = process.env.API_DC_URL || flags.apiHrUrl;
const FS_REPORT_DOMAIN = process.FS_REPORT_DOMAIN || flags.domain; const FS_PEP_DOMAIN = process.FS_REPORT_DOMAIN || flags.domain;
const WEB_PEP_URL = process.env.WEB_PEP_URL || flags.webPepUrl; const WEB_PEP_URL = process.env.WEB_PEP_URL || flags.webPepUrl;
// 七牛 // 七牛
@ -44,7 +44,7 @@ if (
!API_URL !API_URL
|| !API_DC_URL || !API_DC_URL
|| !WEB_PEP_URL || !WEB_PEP_URL
|| !FS_REPORT_DOMAIN || !FS_PEP_DOMAIN
|| !ANXINCLOUD_QINIU_AK || !ANXINCLOUD_QINIU_SK || !ANXINCLOUD_QINIU_BUCKET_RESOURCE || !ANXINCLOUD_QINIU_DOMAIN_QNDMN_RESOURCE || !ANXINCLOUD_QINIU_AK || !ANXINCLOUD_QINIU_SK || !ANXINCLOUD_QINIU_BUCKET_RESOURCE || !ANXINCLOUD_QINIU_DOMAIN_QNDMN_RESOURCE
) { ) {
console.log('缺少启动参数,异常退出'); console.log('缺少启动参数,异常退出');
@ -85,7 +85,7 @@ const product = {
service: { service: {
url: ANXINCLOUD_PM_SERVICES url: ANXINCLOUD_PM_SERVICES
}, },
domain: FS_REPORT_DOMAIN, domain: FS_PEP_DOMAIN,
webPepUrl: WEB_PEP_URL webPepUrl: WEB_PEP_URL
} }
}, { }, {

Loading…
Cancel
Save