Browse Source

fix: staking app hermes url now that devnet uses stable too (#1944)

* fix: staking app hermes url now that devnet uses stable too

* prettier
guibescos 1 year ago
parent
commit
0fc2579c7e
1 changed files with 1 additions and 4 deletions
  1. 1 4
      apps/staking/src/config/server.ts

+ 1 - 4
apps/staking/src/config/server.ts

@@ -37,10 +37,7 @@ export const WALLETCONNECT_PROJECT_ID = demandInProduction(
 export const RPC = process.env.RPC;
 export const IS_MAINNET = process.env.IS_MAINNET !== undefined;
 export const HERMES_URL =
-  process.env.HERMES_URL ??
-  (IS_PRODUCTION_SERVER
-    ? "https://hermes.pyth.network"
-    : "https://hermes-beta.pyth.network");
+  process.env.HERMES_URL ?? "https://hermes.pyth.network";
 export const BLOCKED_REGIONS =
   process.env.BLOCKED_REGIONS === undefined ||
   process.env.BLOCKED_REGIONS === ""