Disable caching for main html page.
This commit is contained in:
parent
3eca5f65e1
commit
6ee9abc002
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,7 @@ class DebugConfig(FlaskConfig, MailConfig, LocalStorage, SQLiteDB,
|
|||
'level': logging.DEBUG,
|
||||
'format': LOG_FORMAT
|
||||
}
|
||||
SEND_FILE_MAX_AGE_DEFAULT = 0
|
||||
|
||||
|
||||
class LocalHostedConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL,
|
||||
|
@ -88,6 +89,7 @@ class LocalHostedConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL,
|
|||
'level': logging.DEBUG,
|
||||
'format': LOG_FORMAT
|
||||
}
|
||||
SEND_FILE_MAX_AGE_DEFAULT = 0
|
||||
|
||||
|
||||
class ProductionConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL,
|
||||
|
@ -99,3 +101,4 @@ class ProductionConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL,
|
|||
'format': LOG_FORMAT,
|
||||
'filename': 'application.log',
|
||||
}
|
||||
SEND_FILE_MAX_AGE_DEFAULT = 0
|
||||
|
|
Reference in a new issue