Revert "Try moving the redirect to the app layer."
This reverts commit 0cba17efe3
.
This commit is contained in:
parent
9c32770250
commit
540815b943
3 changed files with 4 additions and 24 deletions
|
@ -60,7 +60,6 @@ class DebugConfig(FlaskConfig, MailConfig, LocalStorage, SQLiteDB):
|
|||
'level': logging.DEBUG,
|
||||
'format': LOG_FORMAT
|
||||
}
|
||||
SECURE_REDIRECT = False
|
||||
|
||||
|
||||
class ProductionConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL):
|
||||
|
@ -70,4 +69,3 @@ class ProductionConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL):
|
|||
'level': logging.DEBUG,
|
||||
'format': LOG_FORMAT,
|
||||
}
|
||||
SECURE_REDIRECT = True
|
||||
|
|
Reference in a new issue