Skip to content

Commit

Permalink
added alllowed host
Browse files Browse the repository at this point in the history
  • Loading branch information
neyer committed May 26, 2014
1 parent 3340108 commit bb4e8e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'pv#*b_^#1rqn$63hj-shdrkj-e^0fkcs)5gc3mg%_$#d0em(3@'

DEBUG = os.getenv('DJANGO_PROD_MODE') is not 'TRUE'
DEBUG = not (os.getenv('DJANGO_PROD_MODE') == 'TRUE')

TEMPLATE_DEBUG = DEBUG

ALLOWED_HOSTS = []
ALLOWED_HOSTS = [ '127.0.0.1', 'dewdrop.neyer.me' ]


# Application definition
Expand Down

0 comments on commit bb4e8e0

Please sign in to comment.