Skip to content

Commit

Permalink
fix ALLOWED_HOSTS
Browse files Browse the repository at this point in the history
  • Loading branch information
saylorsd committed Feb 16, 2025
1 parent ea3f902 commit 01c0963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/housecat/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get('DEBUG', 'False').lower() in ['true', '1']

ALLOWED_HOSTS = ['127.0.0.1', 'localhost'] # sjson.loads(os.environ.get('ALLOWED_HOSTS', '["www.housecatpgh.org", "localhost", "127.0.0.1"]'))
ALLOWED_HOSTS = json.loads(os.environ.get('ALLOWED_HOSTS', '["www.housecatpgh.org", "localhost", "127.0.0.1"]'))

# Application definition
INSTALLED_APPS = [
Expand Down

0 comments on commit 01c0963

Please sign in to comment.