mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 17:16:16 +00:00
The Check documentation links job on PR #320 flagged a link in README.md to eur-lex.europa.eu as dead because the EU legal-content portal responds with HTTP 202 (Accepted) to HEAD requests. 202 is a 2xx success class — the server responded and the link is valid; it just means "the request was accepted and is being processed". Adding 202 alongside 200 / 206 in aliveStatusCodes fixes the false positive broadly, not just for this one URL. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
64 lines
1.5 KiB
JSON
64 lines
1.5 KiB
JSON
{
|
|
"timeout": "20s",
|
|
"retryOn429": true,
|
|
"retryCount": 3,
|
|
"fallbackRetryDelay": "30s",
|
|
"aliveStatusCodes": [200, 202, 206],
|
|
"ignorePatterns": [
|
|
{
|
|
"pattern": "^http://localhost"
|
|
},
|
|
{
|
|
"pattern": "^https://localhost"
|
|
},
|
|
{
|
|
"pattern": "^http://127.0.0.1"
|
|
},
|
|
{
|
|
"pattern": "^http://192.168."
|
|
},
|
|
{
|
|
"pattern": "^http://10."
|
|
},
|
|
{
|
|
"pattern": "^http://172."
|
|
},
|
|
{
|
|
"pattern": "^https://pkg.go.dev.*badge"
|
|
},
|
|
{
|
|
"pattern": "^\\.\\./images/(dashboard-home|account-creation|account-dashboard|usb-remote-services|device-discovery|device-registration|account-migration|migration-setup|migration-progress|migration-health|migration-complete|backup-setup)\\.png$"
|
|
},
|
|
{
|
|
"pattern": "https://www.contributor-covenant.org/version/2/0/code_of_conduct.html"
|
|
},
|
|
{
|
|
"pattern": "https://www.apkmirror.com/apk/bose-corporation/bose-soundtouch/"
|
|
},
|
|
{
|
|
"pattern": "https://apkpure.com/bose-soundtouch/com.bose.soundtouch"
|
|
},
|
|
{
|
|
"pattern": "^https://bose\\.fandom\\.com/"
|
|
},
|
|
{
|
|
"pattern": "^https://www\\.reddit\\.com/"
|
|
}
|
|
],
|
|
"replacementPatterns": [
|
|
{
|
|
"pattern": "^/",
|
|
"replacement": "{{BASEURL}}/"
|
|
}
|
|
],
|
|
"httpHeaders": [
|
|
{
|
|
"urls": ["https://github.com", "https://api.github.com"],
|
|
"headers": {
|
|
"Accept-Encoding": "zstd, br, gzip, deflate",
|
|
"User-Agent": "Mozilla/5.0 (compatible; LinkChecker)"
|
|
}
|
|
}
|
|
]
|
|
}
|