Skip to content

Commit

Permalink
add staging graph endpoint to web app
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoVS09 committed Jul 2, 2023
1 parent a9d0e69 commit e0f08fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/web/app/api/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export function getGraphQLEndpoint(chainId: ChainId): string {

function getBNBChainEndpoint(chainEnvironment: ChainEnvironment): string {
switch (chainEnvironment) {
case ChainEnvironment.STAGING:
return "https://api.thegraph.com/subgraphs/name/eonian-core/eonian-bsc-staging";
case ChainEnvironment.DEVELOPMENT:
return "https://api.thegraph.com/subgraphs/name/eonian-core/eonian-bsc-development";
case ChainEnvironment.LOCAL:
Expand Down

0 comments on commit e0f08fa

Please sign in to comment.