Fix sharp issue.

This commit is contained in:
Dessalines 2023-06-09 14:09:59 -04:00
parent f39bb31415
commit cd17e0a65a

View file

@ -294,9 +294,7 @@ export async function generateManifestBase64(site: Site) {
}
async function fetchIconPng(iconUrl: string) {
return await fetch(
iconUrl.replace(/https?:\/\/[^\/]+/g, getHttpBaseInternal())
)
return await fetch(iconUrl)
.then(res => res.blob())
.then(blob => blob.arrayBuffer());
}