Browse Source

[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
3.2.0-release
Jiajie Zhong 2 years ago committed by GitHub
parent
commit
997b022b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .dlc.json

8
.dlc.json

@ -20,6 +20,14 @@
"replacement": "https://dolphinscheduler.apache.org/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", "timeout": "10s",
"retryOn429": true, "retryOn429": true,
"retryCount": 10, "retryCount": 10,

Loading…
Cancel
Save