|
|
@ -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 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('缺少启动参数,异常退出'); |
|
|
|
args.showHelp(); |
|
|
|
process.exit(-1); |
|
|
|