From 8f069f17f43ef225c15e2e058ef01c8f16efbbe3 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Tue, 8 Jul 2025 22:13:12 -0400 Subject: [PATCH] even even more news --- news/static/browse.html | 2 +- news/static/index.html | 2 +- news/static/search.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/news/static/browse.html b/news/static/browse.html index 7e89ac2..efb0276 100644 --- a/news/static/browse.html +++ b/news/static/browse.html @@ -157,7 +157,7 @@ const [url, meta] = Object.entries(a)[0]; const link = document.createElement('a'); link.className = 'article-link'; - link.href = '/view?url=' + encodeURIComponent(url); + link.href = '/news/view?url=' + encodeURIComponent(url); const article = document.createElement('article'); const txt = meta.processed_text; diff --git a/news/static/index.html b/news/static/index.html index 61432f5..26106ad 100644 --- a/news/static/index.html +++ b/news/static/index.html @@ -134,7 +134,7 @@ the whole card is a single coherent link */ const link = document.createElement('a'); link.className = 'article-link'; - link.href = '/view?url=' + encodeURIComponent(url); + link.href = '/news/view?url=' + encodeURIComponent(url); const card = document.createElement('article'); card.className = 'article-card'; diff --git a/news/static/search.html b/news/static/search.html index 167a161..ff2be9c 100644 --- a/news/static/search.html +++ b/news/static/search.html @@ -199,7 +199,7 @@ const [url, meta] = Object.entries(a)[0]; const link = document.createElement('a'); link.className = 'article-link'; - link.href = '/view?url=' + encodeURIComponent(url); + link.href = '/news/view?url=' + encodeURIComponent(url); const article = document.createElement('article'); const txt = meta.processed_text;