Fix Vue's PWA manifestCrossorigin, remove second mainfest from head

This commit is contained in:
rokiden 2023-10-11 16:38:37 +06:00
parent 388f482d25
commit dec5a0820a
2 changed files with 2 additions and 3 deletions

View File

@ -5,12 +5,11 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<!-- Favicon, App Icon and PWA --> <!-- Favicon, App Icon -->
<link rel="icon" type="image/png" sizes="64x64" href="<%= BASE_URL %>/web-icons/favicon-64x64.png"> <link rel="icon" type="image/png" sizes="64x64" href="<%= BASE_URL %>/web-icons/favicon-64x64.png">
<link rel="icon" type="image/png" sizes="32x32" href="web-icons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="web-icons/favicon-32x32.png">
<link rel="icon" type="image/png" href="/favicon.ico" /> <link rel="icon" type="image/png" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/loading-screen.css" /> <link rel="stylesheet" type="text/css" href="/loading-screen.css" />
<link rel="manifest" href="/manifest.json">
<!-- Default Page Title --> <!-- Default Page Title -->
<title>Dashy</title> <title>Dashy</title>
</head> </head>

View File

@ -306,8 +306,8 @@ module.exports = {
themeColor: '#00af87', themeColor: '#00af87',
msTileColor: '#0b1021', msTileColor: '#0b1021',
mode: 'production', mode: 'production',
iconPaths: {
manifestCrossorigin: 'use-credentials', manifestCrossorigin: 'use-credentials',
iconPaths: {
favicon64: './web-icons/favicon-64x64.png', favicon64: './web-icons/favicon-64x64.png',
favicon32: './web-icons/favicon-32x32.png', favicon32: './web-icons/favicon-32x32.png',
maskIcon: './web-icons/dashy-logo.png', maskIcon: './web-icons/dashy-logo.png',