Announcement

Collapse
No announcement yet.

How to target/reference Environment Variables set in Node.js Selector?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to target/reference Environment Variables set in Node.js Selector?

    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

  • #2
    Hello Ted,
    Thank you for reaching out! We are really sorry about your experience. We are working on this issue. In this case, correction is necessary from LightSpeed. To expedite the processing, it will be better if you also contact LightSpeed directly. Thanks in advance!

    Comment

    Working...
    X