mirror of
https://github.com/umami-software/umami.git
synced 2026-05-30 06:47:25 +00:00
feat: add cache control headers to GET response
This commit is contained in:
@@ -63,6 +63,9 @@ export async function GET(request: Request, { params }: { params: Promise<{ slug
|
||||
headers: {
|
||||
'Content-Type': 'image/gif',
|
||||
'Content-Length': image.length.toString(),
|
||||
'Cache-Control': 'no-cache, no-store, must-revalidate',
|
||||
Pragma: 'no-cache',
|
||||
Expires: '0',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user