mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-01 23:48:53 +02:00
⚡️ Cache og image
This commit is contained in:
parent
7b787c1b48
commit
a7d1fa9a5c
1 changed files with 4 additions and 0 deletions
|
@ -84,6 +84,10 @@ export async function GET(req: NextRequest) {
|
|||
weight: 700,
|
||||
},
|
||||
],
|
||||
headers: {
|
||||
"Cache-Control": "public, max-age=31536000, immutable",
|
||||
"Content-Type": "image/png",
|
||||
},
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue