优化多个地方

This commit is contained in:
eoao
2025-09-03 08:31:44 +08:00
parent 97a7950808
commit b4954e948b
30 changed files with 156 additions and 89 deletions

View File

@@ -119,7 +119,9 @@ const settingService = {
await r2Service.putObj(c, background, arrayBuffer, {
contentType: file.type
contentType: file.type,
cacheControl: `public, max-age=31536000, immutable`,
contentDisposition: `inline; filename="${file.name}"`
});
}