vc
This commit is contained in:
parent
4617e39bbc
commit
5e43716cb0
14 changed files with 12 additions and 68 deletions
|
@ -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>")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue