mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
增加 demo 环境变量
This commit is contained in:
1 parent
4ce01c5f0e
commit
4cf64e7af0
3 files changed
+11
-3
No files matched your search
@@ -5,7 +5,7 @@ let pickedEnv: Record<string, string>;
|
||||
|
||||
function getPickedEnv() {
|
||||
if (pickedEnv) return pickedEnv;
|
||||
const picked = pick(process.env, ['QlBaseUrl']);
|
||||
const picked = pick(process.env, ['QlBaseUrl', 'DeployEnv']);
|
||||
pickedEnv = picked as Record<string, string>;
|
||||
return picked;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user