Revert local development settings committed.
This reverts commit adf2229720
.
This commit is contained in:
parent
adf2229720
commit
5bef923cfe
2 changed files with 1 additions and 5 deletions
|
@ -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')
|
||||
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue