From 8f637aabb4c0b634fcb14b6c68a3c1da82c27d4d Mon Sep 17 00:00:00 2001 From: Patrick Maurits Sangian <patricksangian@gmail.com> Date: Thu, 29 Dec 2022 01:55:09 +0700 Subject: [PATCH] fix: add attribute crossorigin=use-credentials then browser like Chrome can pass the basic auth when requesting the manifest files --- ui/public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/public/index.html b/ui/public/index.html index 5f4f5e8..5c433dd 100644 --- a/ui/public/index.html +++ b/ui/public/index.html @@ -31,7 +31,7 @@ manifest.json provides metadata used when your web app is installed on a user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> - <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> + <link rel="manifest" href="%PUBLIC_URL%/manifest.json" crossorigin="use-credentials" /> <!-- Notice the use of %PUBLIC_URL% in the tags above. It will be replaced with the URL of the `public` folder during the build.