Skip to content
Snippets Groups Projects
Commit 66887f21 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Add config variables to generate url outside of request contexts

parent b606710e
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,9 @@ ROOT_DIR = os.path.abspath(os.path.dirname(__file__))
class Config:
''' # Flask # '''
PREFERRED_URL_SCHEME = os.environ.get('PREFERRED_URL_SCHEME', 'http')
SECRET_KEY = os.environ.get('SECRET_KEY', 'hard to guess string')
SERVER_NAME = os.environ.get('SERVER_NAME')
SESSION_COOKIE_SECURE = \
os.environ.get('SESSION_COOKIE_SECURE', 'false').lower() == 'true'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment