Compare commits

...

2 Commits

Author SHA1 Message Date
joylink_fanyuhong
fbd936ab69 Merge remote-tracking branch 'origin/develop' into local-test
All checks were successful
CI / Docker-Build (push) Successful in 2m32s
2024-04-02 17:49:00 +08:00
joylink_fanyuhong
707c50aa0b 环境变量测试 2024-04-02 17:48:09 +08:00

View File

@ -1,4 +1,5 @@
function getHost(): string {
console.log(process.env.ENV_MODE, process.env.NODE_ENV, '000');
if (process.env.ENV_MODE == 'test') {
return 'test.joylink.club/bjrtsts-server';
} else if (process.env.ENV_MODE == 'publish') {