apps/web: fix manifest 401
This commit is contained in:
parent
24a12720d2
commit
498a64cdc9
@ -46,6 +46,7 @@ export default function RootLayout({ children }: { readonly children: React.Reac
|
|||||||
<head>
|
<head>
|
||||||
<meta charSet="utf-8" />
|
<meta charSet="utf-8" />
|
||||||
<meta name="theme-color" content="#000000" />
|
<meta name="theme-color" content="#000000" />
|
||||||
|
<link rel="manifest" href="/manifest.webmanifest" crossOrigin="use-credentials" />
|
||||||
</head>
|
</head>
|
||||||
<body className={inter.className}>
|
<body className={inter.className}>
|
||||||
<Header>
|
<Header>
|
||||||
|
|||||||
@ -1,25 +0,0 @@
|
|||||||
import type { MetadataRoute } from 'next';
|
|
||||||
|
|
||||||
export default function manifest(): MetadataRoute.Manifest {
|
|
||||||
return {
|
|
||||||
background_color: '#fff',
|
|
||||||
description: 'External | Эволюция',
|
|
||||||
display: 'standalone',
|
|
||||||
icons: [
|
|
||||||
{
|
|
||||||
sizes: '192x192',
|
|
||||||
src: '/android-chrome-192x192.png',
|
|
||||||
type: 'image/png',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
sizes: '512x512',
|
|
||||||
src: '/android-chrome-512x512.png',
|
|
||||||
type: 'image/png',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
name: 'External | Эволюция',
|
|
||||||
short_name: 'External | Эволюция',
|
|
||||||
start_url: '/',
|
|
||||||
theme_color: '#fff',
|
|
||||||
};
|
|
||||||
}
|
|
||||||
21
apps/web/public/manifest.webmanifest
Normal file
21
apps/web/public/manifest.webmanifest
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"background_color": "#fff",
|
||||||
|
"description": "External | Эволюция",
|
||||||
|
"display": "standalone",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"sizes": "192x192",
|
||||||
|
"src": "/android-chrome-192x192.png",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"sizes": "512x512",
|
||||||
|
"src": "/android-chrome-512x512.png",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "External | Эволюция",
|
||||||
|
"short_name": "External | Эволюция",
|
||||||
|
"start_url": "/",
|
||||||
|
"theme_color": "#fff"
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user