fix: Use crossorigin: "use-credentials" with PWA manifest (#6430)

This commit is contained in:
Michael Genson
2025-10-24 10:20:04 -05:00
committed by GitHub
parent e226b9b1d5
commit 33865285d1

View File

@@ -50,11 +50,11 @@ export default defineNuxtConfig({
}, },
], ],
link: [ link: [
{ "rel": "icon", "type": "image/x-icon", "href": "/favicon.ico", "data-n-head": "ssr" }, { rel: "icon", type: "image/x-icon", href: "/favicon.ico" },
{ "rel": "shortcut icon", "type": "image/png", "href": "/icons/icon-x64.png", "data-n-head": "ssr" }, { rel: "shortcut icon", type: "image/png", href: "/icons/icon-x64.png" },
{ "rel": "apple-touch-icon", "type": "image/png", "href": "/icons/apple-touch-icon.png", "data-n-head": "ssr" }, { rel: "apple-touch-icon", type: "image/png", href: "/icons/apple-touch-icon.png" },
{ "rel": "mask-icon", "href": "/icons/safari-pinned-tab.svg", "data-n-head": "ssr" }, { rel: "mask-icon", href: "/icons/safari-pinned-tab.svg" },
{ "rel": "manifest", "href": "/manifest.webmanifest", "data-n-head": "ssr" }, { rel: "manifest", href: "/manifest.webmanifest", crossorigin: "use-credentials" },
], ],
}, },