mirror of
https://github.com/rikkaneko/paste.git
synced 2025-06-06 16:45:41 +00:00
Add cache-control header to /favicon.ico response
This commit is contained in:
parent
78e6707b4b
commit
564f1defdf
1 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,9 @@ export default {
|
|||
// Special path
|
||||
if (path === "/favicon.ico" && method == "GET") {
|
||||
return new Response(null, {
|
||||
headers: {
|
||||
"cache-control": "public, max-age=172800",
|
||||
},
|
||||
status: 404
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue