Skip to content

Commit

Permalink
refactor: Fallback to "http://localhost:8000" even when Docker sets B…
Browse files Browse the repository at this point in the history
…ASE_URL as an empty string
  • Loading branch information
drikusroor committed May 21, 2024
1 parent 0b4f6d8 commit 0af4025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/aml/development_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@

TESTING = DEBUG

BASE_URL = os.getenv('BASE_URL', 'http://localhost:8000')
BASE_URL = os.getenv('BASE_URL') or 'http://localhost:8000'

0 comments on commit 0af4025

Please sign in to comment.