Skip to content

Commit

Permalink
fix for review
Browse files Browse the repository at this point in the history
  • Loading branch information
praeitor committed Dec 24, 2024
1 parent e959cbe commit 9e3b56f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/kittygram_backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@

DEBUG = os.getenv('DEBUG', 'False') == 'True'

ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', '').split(',')
if '*' in ALLOWED_HOSTS:
ALLOWED_HOSTS = ['*']
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', '*').split(',')

STATIC_ROOT = '/app/collected_static'

Expand Down

0 comments on commit 9e3b56f

Please sign in to comment.