From d21326fd6471aee98ab92a693e3fe9c70a0ed391 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 3 Dec 2023 22:14:51 -0800 Subject: [PATCH] Use concise language "from IPFS" is already implied in the detail --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 279c731..5a2f983 100644 --- a/index.html +++ b/index.html @@ -242,7 +242,7 @@ logOutput(result, '✅ Successfully fetched JSON metadata.', JSON.stringify(json, null, 2)); } catch { - logOutput(result, '❌ Failed to fetch JSON metadata from IPFS.', `IPFS node: ${ipfs}`); + logOutput(result, '❌ Failed to fetch JSON metadata.', `IPFS node: ${ipfs}`); } } @@ -252,10 +252,10 @@ try { const cidV0 = source.urls[1].substring(11); const code = await fetchCID(cidV0, ipfs).then(r => r.text()); - logOutput(result, `✅ Successfully fetched source code for "${file}" from IPFS.`, code); + logOutput(result, `✅ Successfully fetched source code for "${file}".`, code); } catch { - logOutput(result, `❌ Failed to fetch source code for "${file}" from IPFS.`, `IPFS node: ${ipfs}`); + logOutput(result, `❌ Failed to fetch source code for "${file}".`, `IPFS node: ${ipfs}`); } } } -- 2.47.3