Skip to content

Commit d749bef

Browse files
authored
Merge pull request #1908 from cprussin/fix-build
fix(staking): don't require RPC in prod yet
2 parents 7301778 + 19c9106 commit d749bef

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
@@ -34,7 +34,7 @@ export const AMPLITUDE_API_KEY = demandInProduction("AMPLITUDE_API_KEY");
3434
export const WALLETCONNECT_PROJECT_ID = demandInProduction(
3535
"WALLETCONNECT_PROJECT_ID",
3636
);
37-
export const RPC = demandInProduction("RPC");
37+
export const RPC = process.env.RPC;
3838
export const IS_MAINNET =
3939
IS_PRODUCTION_SERVER || process.env.IS_MAINNET !== undefined;
4040
export const HERMES_URL =

0 commit comments

Comments
 (0)