108536490: add the proxy_fix

This commit is contained in:
Rebecca Law
2015-11-30 14:32:58 +00:00
parent af382885d3
commit 3f017b30f2
9 changed files with 48 additions and 24 deletions

View File

@@ -13,6 +13,8 @@ class Config(object):
WTF_CSRF_ENABLED = True
SECRET_KEY = 'secret-key'
HTTP_PROTOCOL = 'http'
DANGEROUS_SALT = 'itsdangeroussalt'
class Development(Config):
@@ -24,6 +26,11 @@ class Test(Config):
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/test_notifications_admin'
WTF_CSRF_ENABLED = False
class Live(Config):
DEBUG = False
HTTP_PROTOCOL = 'https'
configs = {
'development': Development,
'test': Test