Skip to content

Commit

Permalink
feat(layout): 配置路径及动态设置网站图标链接
Browse files Browse the repository at this point in the history
  • Loading branch information
deershark committed Feb 14, 2025
1 parent f188533 commit 0bee51b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { getLocaleOnServer } from '@/i18n/server'
import { TanstackQueryIniter } from '@/context/query-client'
import './styles/globals.css'
import './styles/markdown.scss'
import { BASE_PATH } from '@/config'

export const metadata = {
title: 'Dify',
Expand Down Expand Up @@ -33,6 +34,7 @@ const LocaleLayout = ({
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<link rel="icon" type="image/x-icon" href={`${BASE_PATH}/favicon.ico`} />
</head>
<body
className="h-full select-auto color-scheme"
Expand Down

0 comments on commit 0bee51b

Please sign in to comment.