From fd39b21b12d815ca8388df4f8b727e09c7cb4965 Mon Sep 17 00:00:00 2001 From: abias Date: Mon, 22 May 2023 18:41:33 -0400 Subject: [PATCH] Revert "Add debug statement." This reverts commit 7fbb12a4bde29d72c1bf55e0d0a954f19c863b4a. --- src/server/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/server/index.tsx b/src/server/index.tsx index 7004160..19deb9c 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -355,11 +355,11 @@ export async function generateManifestBase64(site: Site) { } async function fetchIconPng(iconUrl: string) { - const fetchIconUrl = iconUrl - .replace(/https?:\/\/localhost:\d+/g, getHttpBaseInternal()) - .replace(/https/, "http"); - console.log(`PNG URL: ${fetchIconUrl}`); - return await fetch(fetchIconUrl) + return await fetch( + iconUrl + .replace(/https?:\/\/localhost:\d+/g, getHttpBaseInternal()) + .replace(/https/, "http") + ) .then(res => res.blob()) .then(blob => blob.arrayBuffer()); } -- 2.44.1