Skip to content

Commit 49700fc

Browse files
committed
frontend: index.html: Add crossorigin attribute to manifest link
Adds crossorigin="use-credentials" to the manifest link so that cookies are sent when fetching manifest.json. This fixes issues where Headlamp is hosted behind an authentication proxy (like Authelia). Fixes #4572 Signed-off-by: zyzzmohit <mohitray949@gmail.com>
1 parent 10316ab commit 49700fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
manifest.json provides metadata used when your web app is installed on a
1717
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1818
-->
19-
<link rel="manifest" href="/manifest.json" />
19+
<link rel="manifest" href="/manifest.json" crossorigin="use-credentials" />
2020
<!--
2121
Unlike "/favicon.ico" or "favicon.ico", "/favicon.ico" will
2222
work correctly both with client-side routing and a non-root public URL.

0 commit comments

Comments
 (0)