Hello people, I am a newbie to netlify and wanted help with environment variables, I have a site named Random API which is built on next.js, I am have authentication through google and github on it using Auth.js which needs .env file and some variables in it, I know that netlify doesnt read .env files, So i tried creating envirionment variables on the site, but looks like the site is not working even though I have triggered deploy after changes, The code is working well locally. Please guide me to fix this problem
Can anybody please help me ??
Hi, @TheRealShreyash. Your post does not contain enough detail for anyone to help you and the site you linked to has already been deleted.
What we would need is a link to a site and access to the source code for the site. No one can debug code that they cannot access. We would need to see the code to debug this.
How does your code make use of the environment variables? We would need to see the code itself or you will need to explain in far greater detail how the code makes use of those environment variables.