From dc61e1e0776d4ac3f1410932ec20ad0f99c02b74 Mon Sep 17 00:00:00 2001 From: yuuki <> Date: Thu, 15 Feb 2024 04:48:15 +0900 Subject: [PATCH] =?UTF-8?q?ddos=E5=AF=BE=E7=AD=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 88da211..6273837 100644 --- a/app.py +++ b/app.py @@ -473,7 +473,7 @@ def route_api_songs(): song['song_skin'] = None del song['skin_id'] - return jsonify(songs) + return cache_wrap(flask.jsonify(songs), 60) @app.route(basedir + 'api/categories') @app.cache.cached(timeout=15)