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