Browse Source

fix: change to poster for og:image

httpjamesm 2 years ago
parent
commit
f207d688e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/title/[titleId]/index.tsx

+ 1 - 1
src/pages/title/[titleId]/index.tsx

@@ -50,7 +50,7 @@ const TitleInfo = ({ data, error }: Props) => {
       <Head>
         <meta
           title="og:image"
-          content={data.media.images.images[0].url || '/icon-512.png'}
+          content={data.basic.poster?.url || '/icon-512.png'}
         />
       </Head>
       <Layout className={styles.title}>