Closed NicolasMahe closed 1 year ago
I guess we could use the VERCEL_URL
env variable for that https://vercel.com/docs/environment-variables#system-environment-variables
This will be taken care of with the addition of a global config file :
https://github.com/liteflow-labs/nft/pull/1450
on hold for now.
@antho1404 is this issue still relevant regarding the work we are doing on Wagmi?
Should be fix with the work on wagmi
Keeping this open so we can double-check the result once the work on Wagmi is done
This issue was indeed fixed when migrating to wagmi
Example from the demo app: https://github.com/liteflow-labs/nft/blob/c450c80cec8b456bee0acd299d7cc1aa6d82d47e/apps/demo/pages/_app.tsx#L112-L116
the url should be set using a deployment variable from VERCEL and fallback to localhost for local dev.