Skip to content

Commit 2836d47

Browse files
zhongjiajieEricGao888
authored andcommitted
[doc][ci] Add http header to avoid github 403 in dlc (apache#12509)
see more detail in tcort/markdown-link-check#201 and we find can solve this by adding `httpHeaders` to fix it
1 parent d034f3c commit 2836d47

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.dlc.json

+8
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
"replacement": "https://dolphinscheduler.apache.org/zh-cn/download/download.html"
2121
}
2222
],
23+
"httpHeaders": [
24+
{
25+
"urls": ["https://docs.github.com/"],
26+
"headers": {
27+
"Accept-Encoding": "zstd, br, gzip, deflate"
28+
}
29+
}
30+
],
2331
"timeout": "10s",
2432
"retryOn429": true,
2533
"retryCount": 10,

0 commit comments

Comments
 (0)