settings: Don't FORCE_CANONICAL_HOSTNAME when DEBUG.
This commit is contained in:
parent
6f540a0e3f
commit
993f4bc72f
1 changed files with 1 additions and 2 deletions
|
@ -24,8 +24,7 @@ from djangocommonsettings import *
|
|||
SITE_ID = 2
|
||||
ROOT_URLCONF = 'conservancy.urls'
|
||||
|
||||
|
||||
FORCE_CANONICAL_HOSTNAME = "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' ]
|
||||
|
||||
|
|
Loading…
Reference in a new issue