From 8c04558c4e7cd6f1f095fda06e4a0a3c3f524686 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 19 Aug 2022 07:09:50 +0200 Subject: [PATCH] pass BASE_INTERNAL_URL to the python process --- backend/src/worker.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/worker.rs b/backend/src/worker.rs index 18f6588317..b178bcfdbf 100644 --- a/backend/src/worker.rs +++ b/backend/src/worker.rs @@ -724,6 +724,7 @@ print(res_json) .env_clear() .envs(reserved_variables) .env("PATH", path_env) + .env("BASE_INTERNAL_URL", base_url) .args(vec![ "--config", "run.config.proto", @@ -741,6 +742,7 @@ print(res_json) .env_clear() .envs(reserved_variables) .env("PATH", path_env) + .env("BASE_INTERNAL_URL", base_url) .args(vec!["-u", "main.py"]) .stdout(Stdio::piped()) .stderr(Stdio::piped())