remotes/1693045480750635534/spooky-22
Aevann1 2021-12-11 19:48:43 +02:00
parent 3a6334d977
commit 5d5c2a9ed4
1 changed files with 0 additions and 1 deletions

View File

@ -265,7 +265,6 @@ def static_service(path):
@app.get('/hostedimages/<path:path>')
@limiter.exempt
def images(path):
print('wtf')
resp = make_response(send_from_directory('../images', path.replace('.WEBP','.webp')))
resp.headers.remove("Cache-Control")
resp.headers.add("Cache-Control", "public, max-age=2628000")