adrianhajdin / project_ai_summarizer

https://jsmastery.pro
488 stars 137 forks source link

unable to access .env after deployment to netlify (via Git) #8

Closed GuyTdev closed 12 months ago

GuyTdev commented 12 months ago

unable to access .env after deployment via git repo. I've uploaded the .env as environment varaiable as Andrei showed but it seems to have some kind of access problem to the .env file. Does somebody knows what could be the problem(it works properly in the dev environment)?

[Of course I've added the .env to .gitignore and uploaded it manually to netlify]

GuyTdev commented 12 months ago

The problem solved by itself. I'm not sure what was the reason for this solution. What I did was to upload the site with hardcoded API key, validate that it really work and then move back to the old code. when it was published and synced again it surprisingly worked