Fix sharp issue.
This commit is contained in:
parent
f39bb31415
commit
cd17e0a65a
1 changed files with 1 additions and 3 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue