Skip to content

Commit

Permalink
fix(cors): fix profile sdk env
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricmagne committed Sep 23, 2024
1 parent 3a8b07e commit f707b55
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/lib/siwsrp/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit f707b55

Please sign in to comment.