From aa3a394c1e8a6c5ab7b897f000e856cc996de8cc Mon Sep 17 00:00:00 2001 From: Raymond Nook <59678453+developStorm@users.noreply.github.com> Date: Wed, 8 May 2024 03:50:55 -0700 Subject: [PATCH] fix: typo --- lib/routes/github/wiki.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/github/wiki.ts b/lib/routes/github/wiki.ts index c207a9280..f056205c6 100644 --- a/lib/routes/github/wiki.ts +++ b/lib/routes/github/wiki.ts @@ -39,7 +39,7 @@ async function handler(ctx) { const { data } = await got(`${baseUrl}/${user}/${repo}/wiki`); const $ = load(data); - url = `${baseUrl}${$('a[href$=_history]')}`; + url = `${baseUrl}${$('a[href$=_history]').attr('href')}`; } const { data } = await got(url);