Add environment

This commit is contained in:
Adria Navarro 2024-02-19 16:40:32 +01:00
parent b2caa1b787
commit d81ecbd7cf
1 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,10 @@ const environment = {
getDefaults: () => {
return DEFAULTS
},
useIsolatedVM: {
QUERY_TRANSFORMERS: !!process.env.QUERY_TRANSFORMERS_ISOLATEDVM,
JS_RUNNER: !!process.env.JS_RUNNER_ISOLATEDVM,
},
}
// clean up any environment variable edge cases