mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +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,
|
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