Browse Source

启动参数

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

3
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_PEP_DOMAIN = process.FS_PEP_DOMAIN || flags.domain; const FS_PEP_DOMAIN = process.env.FS_PEP_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;
// 七牛 // 七牛
@ -39,7 +39,6 @@ const ANXINCLOUD_QINIU_DOMAIN_QNDMN_RESOURCE = process.env.ANXINCLOUD_QINIU_DOMA
//后端服务 //后端服务
const ANXINCLOUD_PM_SERVICES = process.env.ANXINCLOUD_PM_SERVICES || flags.pmrs; const ANXINCLOUD_PM_SERVICES = process.env.ANXINCLOUD_PM_SERVICES || flags.pmrs;
console.log(API_URL,API_DC_URL,WEB_PEP_URL,FS_PEP_DOMAIN,ANXINCLOUD_QINIU_AK ,ANXINCLOUD_QINIU_SK ,ANXINCLOUD_QINIU_BUCKET_RESOURCE ,ANXINCLOUD_QINIU_DOMAIN_QNDMN_RESOURCE);
if ( if (
!API_URL !API_URL

Loading…
Cancel
Save