diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 91fb59e..68d5ae7 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -87,8 +87,7 @@ function App() { return null; }, [wallet, burnerWallet]); - console.log("1", process.env.NEXT_PUBLIC_VERCEL_ENV) - console.log("2", process.env.VERCEL_ENV) + console.log("2", process.env) return ( diff --git a/frontend/src/constants.ts b/frontend/src/constants.ts index 637506e..256b021 100644 --- a/frontend/src/constants.ts +++ b/frontend/src/constants.ts @@ -8,7 +8,7 @@ import contractIds from './sway-api/contract-ids.json'; export const FUEL_PROVIDER_URL = 'https://beta-5.fuel.network/graphql'; export const VERCEL_ENV = - process.env.VERCEL_ENV || process.env.NEXT_PUBLIC_VERCEL_ENV || 'development'; + process.env.NODE_ENV || 'development'; export const CONTRACT_ID = VERCEL_ENV === 'development' ? contractIds.contract :