mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-05 07:44:38 +00:00
fix: opengraph metadata?
This commit is contained in:
parent
5b3fc6de4d
commit
3bdb7b1a90
1 changed files with 1 additions and 8 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue