]> Untitled Git - lemmy-ui.git/commitdiff
Revert "Add debug statement."
authorabias <abias1122@gmail.com>
Mon, 22 May 2023 22:41:33 +0000 (18:41 -0400)
committerabias <abias1122@gmail.com>
Mon, 22 May 2023 22:41:33 +0000 (18:41 -0400)
This reverts commit 7fbb12a4bde29d72c1bf55e0d0a954f19c863b4a.

src/server/index.tsx

index 70041603ab702801448db0c67730ea3e89b9a486..19deb9c414958c442e9854ec6223d7d496a778e9 100644 (file)
@@ -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());
 }