[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:
Jiajie Zhong 2022-10-24 17:55:43 +08:00 committed by GitHub
parent 8add9744d4
commit 997b022b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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,