Skip to content

Commit

Permalink
Update testnet urls
Browse files Browse the repository at this point in the history
  • Loading branch information
h0ngcha0 committed Aug 18, 2024
1 parent f82b38f commit 14a961e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bridge_ui/src/utils/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export const EXPLORER_API_SERVER_HOST =
CLUSTER === 'mainnet'
? 'https://indexer-api.explorer.bridge.alephium.org'
: CLUSTER === 'testnet'
? 'https://v2.indexer-api.explorer.testnet.bridge.alephium.org'
? 'https://indexer-api.explorer.testnet.bridge.alephium.org'
: 'http://localhost:8100'

export const RELAYER_HOST =
Expand Down
2 changes: 1 addition & 1 deletion explorer/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GATSBY_SITE_URL=https://v2.explorer.testnet.bridge.alephium.org
GATSBY_GA_TAG=not_available

GATSBY_DEVNET_BACKEND_URL=http://localhost:8100/
GATSBY_TESTNET_BACKEND_URL=https://v2.indexer-api.explorer.testnet.bridge.alephium.org/
GATSBY_TESTNET_BACKEND_URL=https://indexer-api.explorer.testnet.bridge.alephium.org/
GATSBY_MAINNET_BACKEND_URL=https://indexer-api.explorer.bridge.alephium.org/

GATSBY_DEFAULT_NETWORK=testnet
2 changes: 1 addition & 1 deletion relayer-engine/src/middleware/source-tx.middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface SourceTxContext extends Context {

export const explorerApiServerEndpoints: { [k in NetworkId]: string | undefined } = {
['mainnet']: "https://indexer-api.explorer.bridge.alephium.org",
['testnet']: "https://v2.indexer-api.explorer.testnet.bridge.alephium.org",
['testnet']: "https://indexer-api.explorer.testnet.bridge.alephium.org",
['devnet']: "https://localhost:8100",
};

Expand Down

0 comments on commit 14a961e

Please sign in to comment.