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);