Adding SEND_FILE_MAX_AGE_DEFAULT to ensure backups etc dont get old

This commit is contained in:
Leigh Morresi
2021-02-03 09:45:58 +01:00
parent d93926a8b6
commit 07f41782c0
2 changed files with 4 additions and 2 deletions

View File

@@ -46,6 +46,7 @@ update_q = queue.Queue()
app = Flask(__name__, static_url_path='/static')
app.config['STATIC_RESOURCES'] = "/app/static"
app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 0
# app.config['SECRET_KEY'] = 'secret!'