Skip to content

Commit

Permalink
fix: map_url and main_url in config file
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Sep 7, 2023
1 parent f097320 commit 8e87e05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down

0 comments on commit 8e87e05

Please sign in to comment.