reverse rpc-endpoint changes

This commit is contained in:
joeaba 2022-01-22 15:55:31 -05:00 committed by GitHub
parent ba5faa2582
commit b0486f0aaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export function clusterUrl(cluster: Cluster, customUrl: string): string {
case Cluster.Devnet:
return DEVNET_URL.replace("api", "explorer-api");
case Cluster.MainnetBeta:
return MAINNET_BETA_URL;
return MAINNET_BETA_URL.replace("api", "explorer-api");
case Cluster.Testnet:
return TESTNET_URL.replace("api", "explorer-api");
case Cluster.Custom: