Skip to content
This repository has been archived by the owner on Jun 1, 2019. It is now read-only.

Commit

Permalink
Take SERVER_NAME from env
Browse files Browse the repository at this point in the history
  • Loading branch information
r4victor committed Nov 7, 2018
1 parent 3a813ac commit 57dc69b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@

REDIS_PORT = os.getenv('REDIS_PORT')
if not REDIS_PORT:
raise ValueError('REDIS_PORT is not set')
raise ValueError('REDIS_PORT is not set')

SERVER_NAME = os.getenv('SERVER_NAME')

0 comments on commit 57dc69b

Please sign in to comment.