diff --git a/contracts/src/bridge/frontend/api/general.ts b/contracts/src/bridge/frontend/api/general.ts index 0d64c59b8e..2baffae689 100644 --- a/contracts/src/bridge/frontend/api/general.ts +++ b/contracts/src/bridge/frontend/api/general.ts @@ -16,13 +16,7 @@ export const fetchObscuroConfig = async (): Promise< ResponseDataInterface > => { return await httpRequest>({ - method: "post", + method: "get", url: apiRoutes.getObscuroConfig, - data: { - jsonrpc: "2.0", - method: "obscuro_config", - params: [], - id: 1, - }, }); }; diff --git a/contracts/src/bridge/frontend/src/routes/index.ts b/contracts/src/bridge/frontend/src/routes/index.ts index 7e54ad5e96..d045e83807 100644 --- a/contracts/src/bridge/frontend/src/routes/index.ts +++ b/contracts/src/bridge/frontend/src/routes/index.ts @@ -19,7 +19,7 @@ export const NavLinks: NavLink[] = [ export const apiRoutes = { getHealthStatus: `/info/health/`, - getObscuroConfig: `/network-config`, + getObscuroConfig: `/network-config/`, }; export const requestMethods = {