From 0a91a3235913baf4c5de2333926f4b155b2de03a Mon Sep 17 00:00:00 2001 From: dylan Date: Thu, 25 Dec 2025 18:41:07 +0000 Subject: [PATCH] updated now function to log the latest URL for each item --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 2150d0a..1a7fa34 100644 --- a/index.js +++ b/index.js @@ -35,6 +35,7 @@ export default async function now() { try { const latest = await getLatest() console.log(`${id}: ${latest.text}`) + console.log(`${id} URL: ${latest.url}`) if (latest && latest.text && latest.url) { newNow = newNow.replace(regex, (match, openTag, closeTag) => { // Replace href in opening tag