From 6ae33577119edd476621eae58c405c61eb44c4a2 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Sat, 30 Jul 2022 13:53:38 +0800 Subject: [PATCH] RESOURCE --- api/config.js | 2 +- web/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/config.js b/api/config.js index d922a118..7f4d6c59 100644 --- a/api/config.js +++ b/api/config.js @@ -23,7 +23,7 @@ const flags = args.parse(process.argv); const FS_UNIAPP_DB = process.env.FS_UNIAPP_DB || flags.pg; // const LOCAL_SVR_ORIGIN = process.env.LOCAL_SVR_ORIGIN || flags.fileHost; -const QINIU_DOMAIN_QNDMN_RESOURCE = process.env.ANXINCLOUD_QINIU_DOMAIN_QNDMN_RESOURC || flags.qndmn; +const QINIU_DOMAIN_QNDMN_RESOURCE = process.env.ANXINCLOUD_QINIU_DOMAIN_QNDMN_RESOURCE || flags.qndmn; const QINIU_BUCKET_RESOURCE = process.env.ANXINCLOUD_QINIU_BUCKET_RESOURCE || flags.qnbkt; const QINIU_AK = process.env.ANXINCLOUD_QINIU_ACCESSKEY || flags.qnak; const QINIU_SK = process.env.ANXINCLOUD_QINIU_SECRETKEY || flags.qnsk; diff --git a/web/config.js b/web/config.js index 4acfc2b1..babd0300 100644 --- a/web/config.js +++ b/web/config.js @@ -21,7 +21,7 @@ args.option('qndmn', '七牛'); const flags = args.parse(process.argv); const FS_UNIAPP_API = process.env.FS_UNIAPP_API || flags.apiUrl; -const QINIU_DOMAIN_QNDMN_RESOURCE = process.env.ANXINCLOUD_QINIU_DOMAIN_QNDMN_RESOURC || flags.qndmn; +const QINIU_DOMAIN_QNDMN_RESOURCE = process.env.ANXINCLOUD_QINIU_DOMAIN_QNDMN_RESOURCE || flags.qndmn; const API_URL = process.env.API_URL || flags.apiUrl; if (!FS_UNIAPP_API) {