Skip to content

Commit

Permalink
Merge pull request #32 from Propy/feat/claim-your-address-map
Browse files Browse the repository at this point in the history
fix(constants): use remote api endpoint
  • Loading branch information
JayWelsh authored Dec 8, 2023
2 parents 162714c + 2a1508c commit f0f213e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
export const STAKING_CONTRACT = '0x00000000219ab540356cBB839Cbe05303d7705Fa'

export const API_ENDPOINT = "http://localhost:8420";
// export const API_ENDPOINT = "http://localhost:8420";

export const ENV_TO_API_ENDPOINT : {[key: string]: string} = {
"local": "http://localhost:8420",
"dev": "https://dev.dappapi.propy.com/",
"prod": "https://dappapi.propy.com/",
}

// export const API_ENDPOINT = (process?.env?.REACT_APP_ENV && ENV_TO_API_ENDPOINT[process.env.REACT_APP_ENV]) ? ENV_TO_API_ENDPOINT[process.env.REACT_APP_ENV] : 'https://dev.dappapi.propy.com/' ;
export const API_ENDPOINT = (process?.env?.REACT_APP_ENV && ENV_TO_API_ENDPOINT[process.env.REACT_APP_ENV]) ? ENV_TO_API_ENDPOINT[process.env.REACT_APP_ENV] : 'https://dev.dappapi.propy.com/' ;

export const PRO_TOKEN_ADDRESS = "0x226bb599a12C826476e3A771454697EA52E9E220";
export const PRO_TOKEN_DECIMALS = 8;
Expand Down

0 comments on commit f0f213e

Please sign in to comment.