Skip to content

Commit

Permalink
FE: Fix manifest.json access
Browse files Browse the repository at this point in the history
When fetching manifest the cookies are omitted even when on the same domain
(see [1]). Add crossorigin to allow fetching protected resource.

[1] https://web.dev/add-manifest/#link-manifest

Signed-off-by: Oldřich Jedlička <[email protected]>
  • Loading branch information
Oldřich Jedlička authored and oldium committed Sep 18, 2023
1 parent 53a6553 commit 36c948b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka-ui-react-app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="icon" href="<%= PUBLIC_PATH %>/favicon/favicon.ico" sizes="any" />
<link rel="icon" href="<%= PUBLIC_PATH %>/favicon/icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="<%= PUBLIC_PATH %>/favicon/apple-touch-icon.png" />
<link rel="manifest" href="<%= PUBLIC_PATH %>/manifest.json" />
<link rel="manifest" href="<%= PUBLIC_PATH %>/manifest.json" crossorigin="use-credentials" />

<title>UI for Apache Kafka</title>
<script type="text/javascript">
Expand Down

0 comments on commit 36c948b

Please sign in to comment.