mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
108536490: add the proxy_fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user