oh my god I hate my life
This commit is contained in:
@@ -1,18 +1,11 @@
|
|||||||
{
|
{
|
||||||
"task-runners": [
|
"task-runners": [
|
||||||
{
|
|
||||||
"runner-type": "javascript",
|
|
||||||
"env-overrides": {
|
|
||||||
"NODE_FUNCTION_ALLOW_BUILTIN": "crypto", // <-- allowlist Node.js builtin modules here
|
|
||||||
"NODE_FUNCTION_ALLOW_EXTERNAL": "moment,uuid", // <-- allowlist third-party JS packages here
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"runner-type": "python",
|
"runner-type": "python",
|
||||||
"env-overrides": {
|
"env-overrides": {
|
||||||
"PYTHONPATH": "/opt/runners/task-runner-python",
|
"PYTHONPATH": "/opt/runners/task-runner-python",
|
||||||
"N8N_RUNNERS_STDLIB_ALLOW": "json", // <-- allowlist Python standard library packages here
|
"N8N_RUNNERS_STDLIB_ALLOW": "json",
|
||||||
"N8N_RUNNERS_EXTERNAL_ALLOW": "fantraxapi" // <-- allowlist third-party Python packages here
|
"N8N_RUNNERS_EXTERNAL_ALLOW": "fantraxapi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user