Skip to content

Commit

Permalink
Merge pull request #426 from jvc26/12factor-ALLOWED_HOSTS
Browse files Browse the repository at this point in the history
Take ALLOWED_HOSTS setting from environment
  • Loading branch information
James Clemence committed Aug 2, 2016
2 parents 8a49af1 + d0d9097 commit ab70b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cellcounter/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
# '/accounts/',
)

ALLOWED_HOSTS = ['.cellcountr.com']
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', '').split(',')

ROOT_URLCONF = 'cellcounter.urls'

Expand Down

0 comments on commit ab70b99

Please sign in to comment.