Explorar el Código

캐싱 시간 늘림

잉여개발기 (SPDV) hace 3 meses
padre
commit
3e95d7e337
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -186,7 +186,7 @@ with get_db_connect(init_mode = True) as conn:
 
     app.config['JSON_AS_ASCII'] = False
     app.config['JSONIFY_PRETTYPRINT_REGULAR'] = False
-    app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 3600
+    app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 4233600
     if run_mode == 'dev':
         app.config['TEMPLATES_AUTO_RELOAD'] = True
         app.config['DEBUG'] = True