环境变量测试
All checks were successful
CI / Docker-Build (push) Successful in 2m27s

This commit is contained in:
joylink_fanyuhong 2024-04-02 20:09:25 +08:00
parent bde21fd2b4
commit 51719ee5cb

View File

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