This commit is contained in:
Aevann1 2022-02-22 11:15:45 +02:00
parent 4617e39bbc
commit 5e43716cb0
14 changed files with 12 additions and 68 deletions

View file

@ -420,7 +420,7 @@ def usersong(username):
def song(song):
resp = make_response(send_from_directory('/songs', song))
resp.headers.remove("Cache-Control")
resp.headers.add("Cache-Control", "public, max-age=2628000")
resp.headers.add("Cache-Control", "public, max-age=3153600")
return resp
@app.post("/subscribe/<post_id>")