Skip to content

Commit

Permalink
refactor: remove leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
jtourkos committed Oct 14, 2024
1 parent 67c931d commit 834edc0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/common/appSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ const RpcConfigSchema = z.record(
z.nativeEnum(SupportedChain),
z
.object({
url: z.string().url(), // The RPC URL for the provider.
accessToken: z.string().optional(), // Optional. The access token for the RPC URL.
fallbackUrl: z.string().optional(), // Optional. The fallback RPC URL.
fallbackAccessToken: z.string().optional(), // Optional. The access token for the fallback RPC URL.
url: z.string().url(),
accessToken: z.string().optional(),
fallbackUrl: z.string().optional(),
fallbackAccessToken: z.string().optional(),
})
.optional(),
);

console.log('process.env.RPC_CONFIG', process.env.RPC_CONFIG);

export default {
port: (process.env.PORT || 8080) as number,
rpcConfig: process.env.RPC_CONFIG
Expand Down

0 comments on commit 834edc0

Please sign in to comment.