From 377e5df42cacebf59c3f056d4a69b8407237eb3f Mon Sep 17 00:00:00 2001 From: NoboNobo Date: Mon, 3 Jun 2024 16:30:07 +0900 Subject: [PATCH] manifest fix --- src/app.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app.html b/src/app.html index 1cafa81..6ae0339 100644 --- a/src/app.html +++ b/src/app.html @@ -26,11 +26,10 @@ }, ], }; - let blob = new Blob([JSON.stringify(manifest)], { - type: "application/manifest+json", - }); let content = URL.createObjectURL( - new File([blob], "manifest.webmanifest") + new File([JSON.stringify(manifest)], "manifest.webmanifest", { + type: "application/manifest+json", + }) ); let element = document.createElement("link"); element.setAttribute("rel", "manifest");