Next.js Discord

Discord Forum

Standalone mode not recognizing my .env so I cant change my HOSTNAME

Unanswered
American Fuzzy Lop posted this in #help-forum
Open in Discord
American Fuzzy LopOP
I got a .env.local with HOSTNAME and when I build the standalone mode I copy the .env to the standalone map. When I start the standalone server.js it still says 0.0.0.0.

How can I change this?

0 Replies