Revert "Add debug statement."

This reverts commit 7fbb12a4bd.
This commit is contained in:
abias 2023-05-22 18:41:33 -04:00
parent 7fbb12a4bd
commit fd39b21b12

View file

@ -355,11 +355,11 @@ export async function generateManifestBase64(site: Site) {
} }
async function fetchIconPng(iconUrl: string) { async function fetchIconPng(iconUrl: string) {
const fetchIconUrl = iconUrl return await fetch(
.replace(/https?:\/\/localhost:\d+/g, getHttpBaseInternal()) iconUrl
.replace(/https/, "http"); .replace(/https?:\/\/localhost:\d+/g, getHttpBaseInternal())
console.log(`PNG URL: ${fetchIconUrl}`); .replace(/https/, "http")
return await fetch(fetchIconUrl) )
.then(res => res.blob()) .then(res => res.blob())
.then(blob => blob.arrayBuffer()); .then(blob => blob.arrayBuffer());
} }