Add apple-mobile-web-app meta tags (#29)

This commit is contained in:
Xiangxuan Liu 2023-03-20 23:48:12 +08:00 committed by GitHub
parent dd439bb4a8
commit 61384fa685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,10 @@ import { Html, Head, Main, NextScript } from 'next/document'
export default function Document() { export default function Document() {
return ( return (
<Html lang="en"> <Html lang="en">
<Head /> <Head>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-title" content="Chatbot UI"></meta>
</Head>
<body> <body>
<Main /> <Main />
<NextScript /> <NextScript />