Skip to content

Commit

Permalink
Added murmur dev server as ALLOWED_HOSTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Raxel Gutierrez authored and Raxel Gutierrez committed Jul 17, 2020
1 parent 679c03b commit cd9e4ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions http_handler/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ def _get_website():
}
}

ALLOWED_HOSTS = ['murmur-dev.csail.mit.edu', 'localhost', '127.0.0.1']

This comment has been minimized.

Copy link
@soyapark

soyapark Jul 17, 2020

Member

I think it would be better to add BASE_URL instead of a fixed url (e.g., murmur-dev.csail.mit.edu) so it works for any domain :)


# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lockfile==0.10.2
markdown2==2.3.0
mock==1.0.1
nose==1.3.4
python-daemon==1.6.1
python-daemon==2.2.0
python-modargs==1.7
six==1.8.0
wsgiref==0.1.2
Expand Down

0 comments on commit cd9e4ea

Please sign in to comment.