conditionally enable playground based on an environment variable #3145
Unanswered
gilzarfati
asked this question in
Q&A
Replies: 2 comments
-
Nice feature to have |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm using a typescript config file (.meshrc.ts) and I use this syntax in my
So I can toggle the playground in my
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to enable the playground only in non-production environments.
I saw that it can be configured in the .meshrc.yaml, but the playground is enabled even when I set ENABLE_PLAYGRPUND to be false. It works only if I set it directly to false without the env variable.
also, is there a way to do some kind of if-else, or comparison statement? something like:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions