Next.js Discord

Discord Forum

Env in vercel

Answered
Spinone Italiano posted this in #help-forum
Open in Discord
Spinone ItalianoOP
Is there a rule to import env variable in vercel? like prefix?

I have this DATABASE_ID in my env.local so when I am going to upload this on vercel, is there a rule like prefix to be follow?
Answered by Spinone Italiano
anyways I solve it I just need to refresh lol
View full answer

5 Replies

Spinone ItalianoOP
I have this env
focus on the Preview on beta because I have default domain that provided by vercel which is preview in default
I got this error that it said I did not pass a DatabaseID which is not true, I already pass a parameter. I already try this on my localhost and it is working but in my preview site it does not read the env that I already import in vercel
Spinone ItalianoOP
anyways I solve it I just need to refresh lol
Answer