Browse Source

参数提示

release_0.0.2
巴林闲侠 2 years ago
parent
commit
b288d2156e
  1. 2
      code/VideoAccess-VCMP/web/config.js

2
code/VideoAccess-VCMP/web/config.js

@ -23,7 +23,7 @@ const API_AUTH_URL = process.env.API_AUTH_URL || flags.apiAuthUrl;
const IOT_AUTH_WEB = process.env.IOT_AUTH_WEB || flags.iotAuthWeb; const IOT_AUTH_WEB = process.env.IOT_AUTH_WEB || flags.iotAuthWeb;
const API_ANXINYUN_URL = process.env.API_ANXINYUN_URL || flags.apiAnxinyunUrl; const API_ANXINYUN_URL = process.env.API_ANXINYUN_URL || flags.apiAnxinyunUrl;
if (!API_URL || !API_ANXINYUN_URL || !API_AUTH_URL) { if (!API_URL || !API_ANXINYUN_URL || !API_AUTH_URL || !IOT_AUTH_WEB) {
console.log('缺少启动参数,异常退出'); console.log('缺少启动参数,异常退出');
args.showHelp(); args.showHelp();
process.exit(-1); process.exit(-1);

Loading…
Cancel
Save