fix: opengraph metadata?

This commit is contained in:
Kentai Radiquum 2024-08-10 18:51:32 +05:00
parent 5b3fc6de4d
commit 3bdb7b1a90
Signed by: Radiquum
GPG key ID: 858E8EE696525EED

View file

@ -15,16 +15,9 @@ export const metadata = {
}, },
description: "Неофициальное приложение для anixart.tv", description: "Неофициальное приложение для anixart.tv",
openGraph: { openGraph: {
url: process.env.VERCEL_URL
? `https://${process.env.VERCEL_URL}`
: `http://localhost:${process.env.PORT || 3000}`,
images: [ images: [
{ {
url: `${ url: "/opengraph.png", // Must be an absolute URL
process.env.VERCEL_URL
? "https://" + process.env.VERCEL_URL
: "http://localhost:" + process.env.PORT || 3000
}/opengraph.png`, // Must be an absolute URL
width: 800, width: 800,
height: 600, height: 600,
}, },