update config

This commit is contained in:
AceDataCloud committed 2023-01-25 16:35:04 +08:00
1 parent 88e87ef747
commit 3f2243f411
1 file changed
+2 -2
+2 -2
View File
@@ -8,7 +8,7 @@ import * as fs from 'fs';
const getAuthEndpoint = () => {
switch (process.env.NODE_ENV) {
case 'local':
return 'http://127.0.0.1:8001';
return 'https://auth.test.zhishuyun.com';
case 'test':
return 'https://auth.test.zhishuyun.com';
case 'production':
@@ -20,7 +20,7 @@ const getAuthEndpoint = () => {
const getDataEndpoint = () => {
switch (process.env.NODE_ENV) {
case 'local':
return 'http://127.0.0.1:8007';
return 'https://auth.test.zhishuyun.com';
case 'test':
return 'https://data.test.zhishuyun.com';
case 'production':