Skip to content

Build your personal knowledge base with Trilium Notes

PWA manifest fixes for extra auth, fixes #4611

zadam67cb92623399
diff --git a/src/public/manifest.webmanifest b/src/public/manifest.webmanifest
index 814b715959..d6dfaf2776 100644
--- a/src/public/manifest.webmanifest
+++ b/src/public/manifest.webmanifest
@@ -9,14 +9,9 @@
"start_url": "/",
"icons": [
{
- "src": "/assets/vX/images/app-icons/ios/apple-touch-icon.png",
- "sizes": "180x180",
- "type": "image/png"
- },
- {
- "src": "/assets/vX/images/app-icons/png/512x512.png",
- "sizes": "512x512",
- "type": "image/png"
+ "src": "favicon.ico",
+ "sizes": "180x180 512x512",
+ "type": "image/x-icon"
}
]
}
diff --git a/src/views/desktop.ejs b/src/views/desktop.ejs
index 6e0aef4301..cb56ecc60d 100644
--- a/src/views/desktop.ejs
+++ b/src/views/desktop.ejs
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="favicon.ico">
- <link rel="manifest" href="manifest.webmanifest">
+ <link rel="manifest" crossorigin="use-credentials" href="manifest.webmanifest">
<title>Trilium Notes</title>
</head>
<body class="desktop heading-style-<%= headingStyle %>">
diff --git a/src/views/mobile.ejs b/src/views/mobile.ejs
index 5894c03658..a84a7486a5 100644
--- a/src/views/mobile.ejs
+++ b/src/views/mobile.ejs
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#fff">
<title>Trilium Notes</title>
- <link rel="manifest" href="manifest.webmanifest">
+ <link rel="manifest" crossorigin="use-credentials" href="manifest.webmanifest">
<style>
.lds-roller {