chore: Cache-Control new style avatar URLs (#13285)

Co-authored-by: Omar López <[email protected]>
This commit is contained in:
Alex van AndelandOmar López authored and GitHub committed 2024-01-19 11:57:02 +00:00
1 parent de6f7dcfc0
commit 0ee56be1d8
1 file changed
+1
+1
View File
@@ -55,6 +55,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
res.writeHead(200, {
"Content-Type": "image/png",
"Content-Length": imageResp.length,
"Cache-Control": "max-age=86400",
});
res.end(imageResp);