Skip to content

Commit dec5a08

Browse files
committed
Fix Vue's PWA manifestCrossorigin, remove second mainfest from head
1 parent 388f482 commit dec5a08

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

public/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width,initial-scale=1.0">
8-
<!-- Favicon, App Icon and PWA -->
8+
<!-- Favicon, App Icon -->
99
<link rel="icon" type="image/png" sizes="64x64" href="<%= BASE_URL %>/web-icons/favicon-64x64.png">
1010
<link rel="icon" type="image/png" sizes="32x32" href="web-icons/favicon-32x32.png">
1111
<link rel="icon" type="image/png" href="/favicon.ico" />
1212
<link rel="stylesheet" type="text/css" href="/loading-screen.css" />
13-
<link rel="manifest" href="/manifest.json">
1413
<!-- Default Page Title -->
1514
<title>Dashy</title>
1615
</head>

src/utils/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ module.exports = {
306306
themeColor: '#00af87',
307307
msTileColor: '#0b1021',
308308
mode: 'production',
309+
manifestCrossorigin: 'use-credentials',
309310
iconPaths: {
310-
manifestCrossorigin: 'use-credentials',
311311
favicon64: './web-icons/favicon-64x64.png',
312312
favicon32: './web-icons/favicon-32x32.png',
313313
maskIcon: './web-icons/dashy-logo.png',

0 commit comments

Comments
 (0)