Skip to content

Commit

Permalink
manifest fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nobonobo committed Jun 3, 2024
1 parent aa0121c commit 377e5df
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 377e5df

Please sign in to comment.