Next.js Discord

Discord Forum

how to use .env.local in serverless functions

Unanswered
Champagne D’Argent posted this in #help-forum
Open in Discord
Champagne D’ArgentOP
I have a few vercel serverless golang functions that I would like to use and I have a .env.local. but it's not recognized in the functions, although it's recognized in my nextjs project. how do I fix this when running vercel dev?

0 Replies