From a1946363f59a06353f72baccc6d3840a0bac400a Mon Sep 17 00:00:00 2001 From: Tony Date: Sat, 13 Jun 2026 03:11:03 +0800 Subject: [PATCH] fix: correct GUID generation for routes --- lib/routes/rsshub/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/rsshub/routes.ts b/lib/routes/rsshub/routes.ts index 46772c8ca..f3a0aa6fa 100644 --- a/lib/routes/rsshub/routes.ts +++ b/lib/routes/rsshub/routes.ts @@ -54,7 +54,7 @@ async function handler(ctx) { description: routeData.description ? md.render(routeData.description) : '', link: `https://docs.rsshub.app/${isEnglish ? '' : 'zh/'}routes/${namespace}`, category: routeData.categories, - guid: `/${namespace}${routePath === '/' ? '' : routePath}`, + guid: routePath.replace(/\/$/, ''), author: routeData.maintainers.join(', '), })) );