← back to B Version 1
snapshot before code-health sweep: news API link field fix (article.url)
7f6b55047745421ed8a392a40572883812f53628 · 2026-06-03 08:57:36 -0700 · SteveStudio2
Files touched
Diff
commit 7f6b55047745421ed8a392a40572883812f53628
Author: SteveStudio2 <steve@designerwallcoverings.com>
Date: Wed Jun 3 08:57:36 2026 -0700
snapshot before code-health sweep: news API link field fix (article.url)
---
server.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server.js b/server.js
index 65e629d..2ea1ab2 100644
--- a/server.js
+++ b/server.js
@@ -1458,7 +1458,7 @@ app.get('/api/news', async (req, res) => {
// Return top 3 headlines
const headlines = (majorNews || []).slice(0, 3).map(article => ({
title: article.title,
- link: article.link
+ link: article.url
}));
res.json(headlines);
← 295343e Update Claude model IDs to claude-opus-4-8 (Opus 4.8 upgrade
·
back to B Version 1
·
(newest)