Skip to content

Commit

Permalink
Merge pull request #708 from pikpikcu/patch-1
Browse files Browse the repository at this point in the history
Fix Error DisallowedHost at / Invalid HTTP_Host Header
  • Loading branch information
six2dez committed May 12, 2023
2 parents 102d4e7 + 97e2045 commit 78b7abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/web/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
DEBUG = 1

ipAddress=os.popen('hostname -I | cut -d " " -f1').read().strip()
ALLOWED_HOSTS = [ipAddress, 'localhost', '127.0.0.1']
ALLOWED_HOSTS = [ipAddress, 'localhost', '127.0.0.1', '*']

# SESSION_COOKIE_SECURE = True
# CSRF_COOKIE_SECURE = True
Expand Down

0 comments on commit 78b7abf

Please sign in to comment.