fix auth
This commit is contained in:
1 parent
d980bfdb6a
commit
1131d03b6d
8 files changed
+51
-27
No files matched your search
@@ -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 = () => {
|
||||
|
||||
Reference in new issue
Block a user