Skip to content

Commit

Permalink
fix head link
Browse files Browse the repository at this point in the history
  • Loading branch information
lslzl3000 committed Mar 28, 2023
1 parent 1f80d96 commit 09751d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export default async () => defineConfig({
ignoreDeadLinks: true,
appearance: 'dark',
head: [
['link', { rel: 'shortcut icon', type: "image/png", href: '/zh/images/icons/icon-192.png' }],
['link', { rel: 'apple-touch-icon', href: '/zh/images/icons/icon-512.png' }],
['link', { rel: 'shortcut icon', type: "image/png", href: '/images/icons/icon-192.png' }],
['link', { rel: 'apple-touch-icon', href: '/images/icons/icon-512.png' }],
['link', { rel: 'prefetch', href: 'https://cdn.orillusion.com/orillusion.es.js' }],
['link', { rel: 'prefetch', href: 'https://cdn.orillusion.com/physics.es.js' }],
['script', { async: 'true', src: 'https://www.googletagmanager.com/gtag/js?id=G-0H9189CS0W' }],
Expand All @@ -30,7 +30,7 @@ export default async () => defineConfig({
],
locales: {
root: { label: '简体中文' },
zh: { label: 'English', link: 'https://www.orillusion.com/en/' }
en: { label: 'English', link: 'https://www.orillusion.com/en/' }
},
themeConfig: {
logo: {
Expand Down

0 comments on commit 09751d9

Please sign in to comment.