Skip to content

Commit 5a81393

Browse files
authored
Add crossOrigin="use-credentials" for site.webmanifest
Add `crossOrigin="use-credentials"` to the `<link>` element for `site.webmanifest` when the site is behind a proxy with authentication.
1 parent 116a73d commit 5a81393

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default function RootLayout({
4141
name="viewport"
4242
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
4343
/>
44-
<link rel="manifest" href="/site.webmanifest"></link>
44+
<link rel="manifest" href="/site.webmanifest" crossOrigin="use-credentials"></link>
4545
<script src="/serviceWorkerRegister.js" defer></script>
4646
</head>
4747
<body>

0 commit comments

Comments
 (0)