From 40d6a058063d93a24473bde3f35d96add2d8a017 Mon Sep 17 00:00:00 2001 From: Shreyank Date: Wed, 25 Jun 2025 18:38:41 +0530 Subject: [PATCH] fixed the slow load times of the explorer --- src/api/hooks/useGraphqlClient.tsx | 3 ++- src/constants.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/hooks/useGraphqlClient.tsx b/src/api/hooks/useGraphqlClient.tsx index a420f923c..1b9f6a90f 100644 --- a/src/api/hooks/useGraphqlClient.tsx +++ b/src/api/hooks/useGraphqlClient.tsx @@ -25,7 +25,8 @@ export function getGraphqlURI(networkName: NetworkName): string | undefined { case "devnet": return "https://api.devnet.staging.aptoslabs.com/v1/graphql"; case "local": - return "http://127.0.0.1:8090/v1/graphql"; + // return "http://127.0.0.1:8090/v1/graphql"; + return "https://graphql.nexio.codecrane.com/v1/graphql"; default: return undefined; } diff --git a/src/constants.tsx b/src/constants.tsx index 86ece8197..245d47408 100644 --- a/src/constants.tsx +++ b/src/constants.tsx @@ -7,7 +7,7 @@ export const networks: Record = { mainnet: "https://api.mainnet.aptoslabs.com/v1", testnet: "https://api.testnet.staging.aptoslabs.com/v1", devnet: devnetUrl, - local: "http://192.81.214.203:8080/v1", + local: "https://rpc.nexio.codecrane.com/v1", }; export type NetworkName = keyof typeof networks;