I am trying to find out how to reference or make use of the Environment Variables that can be set in the Node.js selector interface in cPanel in my Node.js application.
I can successfully use a standard .env file and dotenv package for my variables in the app if necessary. But I was interested in making use of the Node.js selector interface as well. However, when I disable my .env file the variables Ive defined in the selector are not found.
What do I need to include in my Node.js code to correctly target the defined environment variables?
TIA
I can successfully use a standard .env file and dotenv package for my variables in the app if necessary. But I was interested in making use of the Node.js selector interface as well. However, when I disable my .env file the variables Ive defined in the selector are not found.
What do I need to include in my Node.js code to correctly target the defined environment variables?
TIA
Comment