diff --git a/apps/docs/app/layout.tsx b/apps/docs/app/layout.tsx index 0cd08d1e3..bdc7104af 100644 --- a/apps/docs/app/layout.tsx +++ b/apps/docs/app/layout.tsx @@ -46,14 +46,13 @@ export const metadata: Metadata = { telephone: false, }, icons: [ - { rel: 'mask-icon', url: 'safari-pinned-tab.svg', color: THEME_COLOR }, { rel: 'shortcut icon', url: '/favicon.svg' }, - { rel: 'icon', url: 'favicon-32x32.png', sizes: '32x32' }, - { rel: 'icon', url: 'favicon-16x16.png', sizes: '16x16' }, + { rel: 'icon', url: 'favicon-32x32.svg', sizes: '32x32' }, + { rel: 'icon', url: 'favicon-16x16.svg', sizes: '16x16' }, { rel: 'apple-touch-icon', url: 'touch-icon-iphone.png' }, - { rel: 'apple-touch-icon', url: 'apple-touch-icon-152x152.png', sizes: '152x152' }, - { rel: 'apple-touch-icon', url: 'apple-touch-icon-180x180.png', sizes: '180x180' }, - { rel: 'apple-touch-icon', url: 'apple-touch-icon-167x167.png', sizes: '167x167' }, + { rel: 'apple-touch-icon', url: 'apple-touch-icon-152x152.svg', sizes: '152x152' }, + { rel: 'apple-touch-icon', url: 'apple-touch-icon-180x180.svg', sizes: '180x180' }, + { rel: 'apple-touch-icon', url: 'apple-touch-icon-167x167.svg', sizes: '167x167' }, ], } diff --git a/apps/docs/components/AutoRefresh.tsx b/apps/docs/components/AutoRefresh.tsx index fa8254f71..a47061e33 100644 --- a/apps/docs/components/AutoRefresh.tsx +++ b/apps/docs/components/AutoRefresh.tsx @@ -22,6 +22,7 @@ if (process.env.NODE_ENV === 'development') { ws.close() } }, [router]) + return children } } diff --git a/apps/docs/public/favicon.ico b/apps/docs/public/favicon.ico new file mode 100644 index 000000000..05e2571c7 Binary files /dev/null and b/apps/docs/public/favicon.ico differ diff --git a/vercel.json b/vercel.json deleted file mode 100644 index df3d2ede4..000000000 --- a/vercel.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "headers": [ - { - "source": "/assets/(.*)", - "headers": [ - { - "key": "Cache-Control", - "value": "public,max-age=31536000,immutable" - } - ] - } - ], - "rewrites": [ - { - "source": "/(.*)", - "destination": "/" - } - ] -}