support fetching manifest file with credentials

If the manifest requires credentials to fetch,
the crossorigin attribute must be set to use-credentials,
even if the manifest file is in the same origin as the current page.
This commit is contained in:
Sebastian Haas 2023-09-17 10:46:37 +02:00
parent 1f7773089c
commit 13ee45e7a1

View File

@ -7,7 +7,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="apple-touch-icon" href="icon.png">
<link rel="manifest" href="manifest.json">
<link rel="manifest" href="manifest.json" crossorigin="use-credentials">
<link href="public/css/kclient.css" rel="stylesheet">
<script src="audio/socket.io/socket.io.js"></script>
<script src="public/js/pcm-player.js"></script>