DolphinScheduler/.dlc.json
Jiajie Zhong 997b022b7c
[doc][ci] Add http header to avoid github 403 in dlc (#12509)
see more detail in
https://github.com/tcort/markdown-link-check/issues/201
and we find can solve this by adding `httpHeaders` to fix
it
2022-10-24 17:55:43 +08:00

41 lines
845 B
JSON

{
"ignorePatterns": [
{
"pattern": "^http://localhost"
},
{
"pattern": "^https://img.shields.io/badge"
},
{
"pattern": "/community/community.html$"
}
],
"replacementPatterns": [
{
"pattern": "^/en-us/download/download.html$",
"replacement": "https://dolphinscheduler.apache.org/en-us/download/download.html"
},
{
"pattern": "^/zh-cn/download/download.html$",
"replacement": "https://dolphinscheduler.apache.org/zh-cn/download/download.html"
}
],
"httpHeaders": [
{
"urls": ["https://docs.github.com/"],
"headers": {
"Accept-Encoding": "zstd, br, gzip, deflate"
}
}
],
"timeout": "10s",
"retryOn429": true,
"retryCount": 10,
"fallbackRetryDelay": "1000s",
"aliveStatusCodes": [
200,
401,
0
]
}