Skip to content

Commit

Permalink
Merge pull request #2316 from Badger-Finance/staging-patch
Browse files Browse the repository at this point in the history
fix: utilize stagin
  • Loading branch information
okjintao authored Aug 25, 2022
2 parents 6470348 + aca76cb commit 6fb4595
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/config/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ export const DEBUG = getIntegrationStage(BUILD_ENV) === Stage.Staging;
export const LOCAL = BUILD_ENV === Stage.Local;

export const getApi = (): string => {
if (DEBUG) {
return 'https://staging-api.badger.com';
}
return 'https://api.badger.com';
return 'https://staging-api.badger.com';
// if (DEBUG) {
// return 'https://staging-api.badger.com';
// }
// return 'https://api.badger.com';
};

export const BADGER_API = getApi();
Expand Down

0 comments on commit 6fb4595

Please sign in to comment.