Skip to content

Commit

Permalink
fix(settings): In case of local hosting with a proxy, set the proxy u…
Browse files Browse the repository at this point in the history
…rl as the base_url as well
  • Loading branch information
qgerome committed Oct 31, 2024
1 parent 54e192e commit 68cb06a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
else SCHEME
)
PROXY_URL = f'{SCHEME}://{os.environ.get("PROXY_HOSTNAME_AND_PORT")}'
BASE_URL = PROXY_URL
NEW_FRONTEND_DOMAIN = os.environ.get(
"NEW_FRONTEND_DOMAIN", os.environ.get("PROXY_HOSTNAME_AND_PORT")
)
Expand Down

0 comments on commit 68cb06a

Please sign in to comment.