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:
1 parent
999019c6f0
commit
a7e99f3674
5 files changed
+13
-18
No files matched your search
@@ -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": {
|
||||
|
||||
Reference in new issue
Block a user