Skip to content

Commit

Permalink
- Added default value for IMAGE_HOSTS variable in global config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
onstabb committed Sep 29, 2023
1 parent fb46bde commit 5dfe707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
DATA_PATH: str = os.path.join(BASE_DIR, "data")

SERVER_URL: str = os.getenv("SERVER_URL", "http://127.0.0.1:8000")
IMAGE_HOSTS: list[str] = os.getenv("IMAGE_HOSTS", ).split(", ")
IMAGE_HOSTS: list[str] = os.getenv("IMAGE_HOSTS", "127.0.0.1").split(", ")

STATIC_PATH: str = os.path.join(BASE_DIR, "static")

Expand Down

0 comments on commit 5dfe707

Please sign in to comment.