[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
This commit is contained in:
parent
8add9744d4
commit
997b022b7c
|
|
@ -20,6 +20,14 @@
|
|||
"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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue