diff --git a/src/backend/app/config.py b/src/backend/app/config.py index fb9b227a9f..5d59648f62 100644 --- a/src/backend/app/config.py +++ b/src/backend/app/config.py @@ -53,8 +53,8 @@ def assemble_cors_origins( # Build default origins from env vars url_scheme = info.data.get("URL_SCHEME") - main_url = info.data.get("URL_SCHEME") - map_url = info.data.get("URL_SCHEME") + main_url = info.data.get("FRONTEND_MAIN_URL") + map_url = info.data.get("FRONTEND_MAP_URL") if url_scheme and main_url and map_url: default_origins = [ f"{url_scheme}://{main_url}",