I feel like I’m missing something really obvious, but I’m not sure what it is.
Adonis.Env() isn’t working once deployed to my dev servers. I’m disabling .env as the docs say to:
ENV_SILENT=true node server.js
But now the following code doesn’t work:
const Env = use(“Env”);
var someEnv = Env.get(“SOME_ENV”); // returns undefined
I know I have my variables properly set on the server. Does Env() only work with .env file?