1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-25 07:37:13 +09:00

tweak max-age

This commit is contained in:
syuilo 2022-12-31 09:14:53 +09:00
parent 51d8d2abbf
commit 6140865252

View File

@ -228,7 +228,7 @@ export class ClientServerService {
return;
}
reply.header('Cache-Control', 'public, max-age=3600');
reply.header('Cache-Control', 'public, max-age=86400');
const name = path.split('@')[0].replace('.webp', '');
const host = path.split('@')[1]?.replace('.webp', '');