tweak max-age

This commit is contained in:
syuilo 2022-12-31 09:14:53 +09:00
parent 51d8d2abbf
commit 6140865252
1 changed files with 1 additions and 1 deletions

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', '');