From b544718b8893a330e680189f0723abd36b455b33 Mon Sep 17 00:00:00 2001 From: liuweiqing Date: Mon, 26 Aug 2024 15:56:37 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20metadata=E5=AE=9A=E4=B9=89=E6=9C=89?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/layout.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 7d322d3..0ae4b1e 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,12 +2,13 @@ import { GeistSans } from "geist/font/sans"; import "./globals.css"; import { GoogleAnalytics } from "@next/third-parties/google"; import Script from "next/script"; +import type { Metadata } from "next"; const defaultUrl = process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` : "http://localhost:3000"; -export const metadata = { +export const metadata: Metadata = { manifest: "/manifest.json", metadataBase: new URL(defaultUrl), title: "paper ai 使用真实文献让AI完成论文", @@ -36,7 +37,7 @@ export const metadata = { "https://file.paperai.life/2024/02/540f3476ef43c831934ce0359c367acd.png", }, twitter: { - card: "page", + card: "summary", title: "AI write", description: "The fastest way to write paper", creator: "@hahfrank",