forked from rDrama/rDrama
1
0
Fork 0

make cache duration a day instead of a month

master
Aevann 2023-10-27 18:59:37 +03:00
parent 5cc4a69377
commit 2a1a0220b4
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def before_request():
@app.after_request @app.after_request
def after_request(response): def after_request(response):
if request.path == '/emojis.csv': if request.path == '/emojis.csv':
response.cache_control.max_age = 2678400 response.cache_control.max_age = 86400
user_id = None user_id = None