Skip to content

Commit

Permalink
Added user agent and retry on link check config
Browse files Browse the repository at this point in the history
  • Loading branch information
alemohamad committed Jan 22, 2025
1 parent 41c1320 commit 6feba6b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions markdown-link-check-config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"ignorePatterns": [{ "pattern": ".*(localhost|127.0.0.1).*" }],
"aliveStatusCodes": [429, 200]
"httpHeaders": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
},
"retryCount": 3,
"retryOn": [403, 429, 500, 502, 503, 504],
"ignorePatterns": [
{ "pattern": ".*(localhost|127.0.0.1).*" }
],
"aliveStatusCodes": [200, 206, 301, 302, 429]
}

0 comments on commit 6feba6b

Please sign in to comment.