hard20 pts · first answer countsnextjsconfig
Server env change not picked up
A static page reads process.env.SUPPORT_PHONE (no NEXT_PUBLIC_) in a Server Component. Ops changes the value and restarts the server, but the page shows the old number. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Where to keep a secret keyFull Stack Developer
- useState in an App Router pageFull Stack Developer
- Renaming a secret to NEXT_PUBLIC_Full Stack Developer
- Making a route publicFull Stack Developer
- What a layout doesFull Stack Developer
- Route for a product IDFull Stack Developer
- Folders in parenthesesFull Stack Developer
- Purpose of use clientFull Stack Developer