环境变量测试
This commit is contained in:
parent
f7895a6ac7
commit
707c50aa0b
@ -1,4 +1,5 @@
|
|||||||
function getHost(): string {
|
function getHost(): string {
|
||||||
|
console.log(process.env.ENV_MODE, process.env.NODE_ENV, '000');
|
||||||
if (process.env.ENV_MODE == 'test') {
|
if (process.env.ENV_MODE == 'test') {
|
||||||
return 'test.joylink.club/bjrtsts-server';
|
return 'test.joylink.club/bjrtsts-server';
|
||||||
} else if (process.env.ENV_MODE == 'publish') {
|
} else if (process.env.ENV_MODE == 'publish') {
|
||||||
|
Loading…
Reference in New Issue
Block a user