fix: Remove double encoding for OG image URLs (#17872)

* fix: do not use vercel image api for meeting link preview image

* fix

* fix

* remove double encoding

* fix

* fix test

* fix

* fix

* fix test

* fix

* fix

* remove test tag

* fix
This commit is contained in:
Benny Joo authored and GitHub committed 2024-11-27 15:45:54 +00:00
1 parent 999019c6f0
commit a7e99f3674
5 files changed
+13 -18

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ export default async function handler(req: NextApiRequest) {
return new Response(img.body, {
status: 200,
headers: { "Content-Type": "image/png", "cache-control": "max-age=86400" },
headers: { "Content-Type": "image/png", "cache-control": "max-age=0" },
});
}
case "app": {