Access environment variables

Hello,
is there a way to access env variables that we define in the values.yml file from the AppSmith application?

For example we can have different use cases based on different env configurations that we have in that config.

Best regards,
Vitalie.

Hello @VitalieSvet
At the moment, this is currently not possible as envs are not accessible in Javascript apps today. However, can I ask what your use case is? Maybe I can recommend an alternative.

Hello @Olawale,
thank you for your reply
we use our app on multiple environments (dev, prod) we would like to have it in the configs
a variable that will let us know on which env we are currently on and based on this apply some restrictions

Best regards,
Vitalie.

Hello Vitalie! We currently have these two (2) feature requests on our roadmap:

Please add comments with your use case on GitHub to help us prioritize them.