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) {
|
async function fetchIconPng(iconUrl: string) {
|
||||||
return await fetch(
|
return await fetch(iconUrl)
|
||||||
iconUrl.replace(/https?:\/\/[^\/]+/g, getHttpBaseInternal())
|
|
||||||
)
|
|
||||||
.then(res => res.blob())
|
.then(res => res.blob())
|
||||||
.then(blob => blob.arrayBuffer());
|
.then(blob => blob.arrayBuffer());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue