This commit is contained in:
AceDataCloud committed 2023-12-19 01:00:36 +08:00
1 parent d980bfdb6a
commit 1131d03b6d
8 files changed
+51 -27

No files matched your search

+1 -8
View File
@@ -21,14 +21,7 @@ export const getDataBaseUrl = () => {
* @returns
*/
export const getHubBaseUrl = () => {
const env = getEnv();
if (env === ENV_LOCAL) {
return 'https://hub.local.zhishuyun.com';
} else if (env === ENV_TEST) {
return 'https://hub.test.zhishuyun.com';
} else {
return 'https://hub.zhishuyun.com';
}
return window.location.origin;
};
export const getAuthBaseUrl = () => {