Revert local development settings committed.

This reverts commit adf2229720.
This commit is contained in:
Ben Sturmfels 2022-01-11 09:17:55 +11:00
parent adf2229720
commit 5bef923cfe
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0
2 changed files with 1 additions and 5 deletions

View file

@ -26,7 +26,7 @@ ROOT_URLCONF = 'conservancy.urls'
FORCE_CANONICAL_HOSTNAME = False if DEBUG else 'sfconservancy.org' FORCE_CANONICAL_HOSTNAME = False if DEBUG else 'sfconservancy.org'
ALLOWED_HOSTS = ['www.sfconservancy.org', 'aspen.sfconservancy.org', 'sfconservancy.org', u'104.130.70.210', '*'] ALLOWED_HOSTS = [ 'www.sfconservancy.org', 'aspen.sfconservancy.org', 'sfconservancy.org', u'104.130.70.210' ]
if DEBUG: if DEBUG:
ALLOWED_HOSTS.append('localhost') ALLOWED_HOSTS.append('localhost')

View file

@ -42,10 +42,6 @@ urlpatterns = [
# formerly static templated things... (dirs with templates) # formerly static templated things... (dirs with templates)
url(r'^error/(40[134]|500)(?:/index\.html|/|)$', static_views.handler), url(r'^error/(40[134]|500)(?:/index\.html|/|)$', static_views.handler),
url(r'^error', static_views.index), url(r'^error', static_views.index),
url(r'^admin/css/', static_views.index),
url(r'^css', static_views.index),
url(r'^js', static_views.index),
url(r'^img', static_views.index),
url(r'^about', static_views.index), url(r'^about', static_views.index),
url(r'^activities', static_views.index), url(r'^activities', static_views.index),
url(r'^donate', static_views.index), url(r'^donate', static_views.index),