Skip to content

Commit

Permalink
Allow site to respond to all hosts
Browse files Browse the repository at this point in the history
- Accessing the site was causing an error
- Previously, we needed to add 0.0.0.0 to `ALLOWED_HOSTS` manually.
  • Loading branch information
lbeaufort committed May 14, 2018
1 parent dc509f9 commit 6265e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regulations/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

# Hosts/domain names that are valid for this site; required if DEBUG is False
# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ["*"]

# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
Expand Down

0 comments on commit 6265e2e

Please sign in to comment.