From 91d71f14e7acc17a9831da31ae7cc2df2d941865 Mon Sep 17 00:00:00 2001 From: Jiamin <16831220+magazian@users.noreply.github.com> Date: Sat, 25 Jul 2026 17:13:33 +0800 Subject: [PATCH] fix(route): remove dyanmic date stamp for link (#22818) * fix(route): remove dynamic date stamp from the link * fix(route): remove dynamic date stamp from the link * fix: update radar source * fix: update radar source to restore www --- lib/routes/szmuseum/temporary.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/routes/szmuseum/temporary.tsx b/lib/routes/szmuseum/temporary.tsx index 88ec25bcc..ec33cf64d 100644 --- a/lib/routes/szmuseum/temporary.tsx +++ b/lib/routes/szmuseum/temporary.tsx @@ -63,7 +63,9 @@ export const route: Route = { const $item = $(item); const a = $item.find('h1 a'); const title = a.text(); - const link = new URL(a.attr('href') || '', baseUrl).href; + const linkStr = new URL(a.attr('href') || '', baseUrl); + linkStr.search = ''; // remove dynamic date stamp from the link + const link = linkStr.href; const imgUrl = new URL($item.find('.aleftimg img').attr('src') || '', baseUrl).href; const fullDuration = $item.find('.activity_r_detail p:nth-child(1) span:nth-child(2)').text().trim();