Skip to content

Commit 68107d7

Browse files
committed
Use IS_PRODUCTION_SERVER instead of IS_MAINNET to control hermes url
1 parent 302e0ec commit 68107d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/staking/src/config/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const IS_MAINNET =
3939
IS_PRODUCTION_SERVER || process.env.IS_MAINNET !== undefined;
4040
export const HERMES_URL =
4141
process.env.HERMES_URL ??
42-
(IS_MAINNET
42+
(IS_PRODUCTION_SERVER
4343
? "https://hermes.pyth.network"
4444
: "https://hermes-beta.pyth.network");
4545
export const BLOCKED_REGIONS =

0 commit comments

Comments
 (0)