From f707b55ce761f2d2a2fc3f2637ba2d7cd543b227 Mon Sep 17 00:00:00 2001 From: Magne Cedric Date: Mon, 23 Sep 2024 17:48:53 +0200 Subject: [PATCH] fix(cors): fix profile sdk env --- src/lib/siwsrp/auth.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/lib/siwsrp/auth.ts b/src/lib/siwsrp/auth.ts index 89be18de945..416312f3565 100644 --- a/src/lib/siwsrp/auth.ts +++ b/src/lib/siwsrp/auth.ts @@ -18,19 +18,19 @@ export const AUTH_WALLET_PROJECTS = "auth.wallet.projects"; export const getHydraEnv = (): HydraEnv => { const platform = Platform.INFURA; - if (VERCEL_ENV === "production") { + // if (VERCEL_ENV === "production") { return { ...getEnvUrls(Env.PRD), env: Env.PRD, platform, }; - } else { - return { - ...getEnvUrls(Env.DEV), - env: Env.DEV, - platform, - }; - } + // } else { + // return { + // ...getEnvUrls(Env.DEV), + // env: Env.DEV, + // platform, + // }; + // } }; const storage: SDK.AuthStorageOptions = {