Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit ae2c9d8

Browse files
committed
revert api base url dev settings
1 parent 4bb1ec8 commit ae2c9d8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ts/utils/utils.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -410,14 +410,14 @@ export const utils = {
410410
return configs.BACKEND_BASE_PROD_URL;
411411
},
412412
getAPIBaseUrl(networkId: Network): string {
413-
// if (environments.isDevelopment()) {
414-
// return configs.API_BASE_DEV_URL;
415-
// } else if (networkId === Network.Kovan) {
416-
// return configs.API_BASE_KOVAN_URL;
417-
// } else if (environments.isDogfood()) {
418-
// return configs.API_BASE_STAGING_URL;
419-
// }
420-
return configs.API_BASE_STAGING_URL;
413+
if (environments.isDevelopment()) {
414+
return configs.API_BASE_DEV_URL;
415+
} else if (networkId === Network.Kovan) {
416+
return configs.API_BASE_KOVAN_URL;
417+
} else if (environments.isDogfood()) {
418+
return configs.API_BASE_STAGING_URL;
419+
}
420+
return configs.API_BASE_PROD_URL;
421421
},
422422
isExternallyInjected(providerType: ProviderType, injectedProviderName: string): boolean {
423423
return providerType === ProviderType.Injected && injectedProviderName !== constants.PROVIDER_NAME_PUBLIC;

0 commit comments

Comments
 (0)