Using the environment variable crashes the nodejs app – CPanel
The app runs on a shared server at namecheap. When I hardcode the env variable as a regular variable inside server.js like let MONGO_URL=blablabla the app works OK. When i use process.env.MONGO_URL instead, it crashes. Any ideas why it is…