Next.js Discord

Discord Forum

Vercel problems with ENV vars

Nile Crocodile posted this in #help-forum
Open in Discord
Nile CrocodileOP
Hi! I am hosting an application on Vercel, and I have set an env var using the UI. We have a Kotlin backend, in the root of the project and a frontend project in a child directory. The project sets the root of the project to the child directory, however the Kotlin app is not seeing the env var on deploy. I'm able to deploy both the frontend and the backend successfuly, however the backend does not see then env var, what could be going wrong?

0 Replies