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