maxage->max-age in Cache-Control header

This commit is contained in:
Nick Krecklow 2020-05-08 04:55:43 -05:00
parent 169ec4bfde
commit 82e8db0128
No known key found for this signature in database
GPG Key ID: 5F149FDE156FFA94

View File

@ -47,7 +47,7 @@ class Server {
res.writeHead(200, {
'Content-Type': 'image/png',
'Content-Length': buf.length,
'Cache-Control': 'maxage=604800' // Cache hashed favicon for 7 days
'Cache-Control': 'max-age=604800' // Cache hashed favicon for 7 days
}).end(buf)
return