Try moving the redirect to the app layer.

This commit is contained in:
yackob03 2013-10-01 16:48:19 -04:00
parent a370130494
commit 0cba17efe3
3 changed files with 24 additions and 4 deletions

View file

@ -60,6 +60,7 @@ class DebugConfig(FlaskConfig, MailConfig, LocalStorage, SQLiteDB):
'level': logging.DEBUG,
'format': LOG_FORMAT
}
SECURE_REDIRECT = False
class ProductionConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL):
@ -69,3 +70,4 @@ class ProductionConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL):
'level': logging.DEBUG,
'format': LOG_FORMAT,
}
SECURE_REDIRECT = True