diff --git a/www/conservancy/settings.py b/www/conservancy/settings.py index ba21b4fe..774bc835 100644 --- a/www/conservancy/settings.py +++ b/www/conservancy/settings.py @@ -26,7 +26,7 @@ ROOT_URLCONF = 'conservancy.urls' 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: ALLOWED_HOSTS.append('localhost') diff --git a/www/conservancy/urls.py b/www/conservancy/urls.py index a301ae58..573c0ec6 100644 --- a/www/conservancy/urls.py +++ b/www/conservancy/urls.py @@ -42,10 +42,6 @@ urlpatterns = [ # formerly static templated things... (dirs with templates) url(r'^error/(40[134]|500)(?:/index\.html|/|)$', static_views.handler), 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'^activities', static_views.index), url(r'^donate', static_views.index),