From 3d00a7314bfd95fd0287c0049565e97d570d2683 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 2 Dec 2020 12:44:41 -0500 Subject: [PATCH] fix: LinkHeader link trailing slash (#1503) Co-authored-by: hubwriter --- content/rest/guides/getting-started-with-the-rest-api.md | 2 +- lib/excluded-links.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/content/rest/guides/getting-started-with-the-rest-api.md b/content/rest/guides/getting-started-with-the-rest-api.md index 59f0db19a62f..3a40af9cfcc8 100644 --- a/content/rest/guides/getting-started-with-the-rest-api.md +++ b/content/rest/guides/getting-started-with-the-rest-api.md @@ -437,7 +437,7 @@ Keep learning with the next API guide [Basics of Authentication][auth guide]! [nanoc]: http://nanoc.ws/ [gitignore templates]: https://github.com/github/gitignore [issues-api]: /rest/reference/issues -[link-header]: http://www.w3.org/wiki/LinkHeader/ +[link-header]: https://www.w3.org/wiki/LinkHeader [conditional-requests]: /rest#conditional-requests [rate-limiting]: /rest#rate-limiting [users api]: /rest/reference/users#get-a-user diff --git a/lib/excluded-links.js b/lib/excluded-links.js index 8339a4a01f69..7301a5b6b9c0 100644 --- a/lib/excluded-links.js +++ b/lib/excluded-links.js @@ -15,6 +15,5 @@ module.exports = [ // Oneoff links that link checkers think are broken but are not. 'https://haveibeenpwned.com/', - 'https://www.ilo.org/dyn/normlex/en/f\\?p=NORMLEXPUB:12100:0::NO::P12100_ILO_CODE:P029', - 'http://www.w3.org/wiki/LinkHeader/' + 'https://www.ilo.org/dyn/normlex/en/f\\?p=NORMLEXPUB:12100:0::NO::P12100_ILO_CODE:P029' ]