I can't get my server-side environment variables to work with my Next.js app.

I added my environment variables to production and preview and both are undefined when I call process.env.MY_VARIABLE in middleware.ts
1 Reply
konga
kongaOP9mo ago
npm run dev works just fine
No description
Want results from more Discord servers?
Add your server