chore: Cache-Control new style avatar URLs (#13285)
Co-authored-by: Omar López <[email protected]>
This commit is contained in:
1 parent
de6f7dcfc0
commit
0ee56be1d8
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user