From 1eeaa277f00aef2afc63db03fbcf9a9757eed88a Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 30 Apr 2024 22:48:40 +0200 Subject: [PATCH] add base_internal_url to dedicated python workers --- backend/windmill-worker/src/python_executor.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/windmill-worker/src/python_executor.rs b/backend/windmill-worker/src/python_executor.rs index 3f8abaf890..3b9c724d29 100644 --- a/backend/windmill-worker/src/python_executor.rs +++ b/backend/windmill-worker/src/python_executor.rs @@ -1178,6 +1178,10 @@ for line in sys.stdin: proc_envs.insert("PYTHONPATH".to_string(), additional_python_paths_folders); proc_envs.insert("PATH".to_string(), PATH_ENV.to_string()); proc_envs.insert("TZ".to_string(), TZ_ENV.to_string()); + proc_envs.insert( + "BASE_INTERNAL_URL".to_string(), + base_internal_url.to_string(), + ); proc_envs.insert("BASE_URL".to_string(), base_internal_url.to_string()); handle_dedicated_process( &*PYTHON_PATH,