I am developing a custom Node in Node-RED. This node will allow users to interact with different environments (like development, QA, and sandbox) by making HTTP requests to a backend API.
I want to make the default environment selection dynamic based on the NODE_ENV variable defined in my server's .env file. The NODE_ENV variable can be set to development, qa, or sandbox, and I want the environment field in the configuration form to be pre-filled with the corresponding value from this variable.