Skip to content

Commit 8e93fb4

Browse files
authored
Add 502 (Bad Gateway) to accepted status codes in lychee config (#354)
helps avoid openvsx link lint errors
1 parent 2e86483 commit 8e93fb4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lychee.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ exclude = [
1111
]
1212

1313
# 403 (Forbidden) and 429 (Too Many Requests) are returned by sites that
14-
# block automated requests, not broken links.
15-
accept = [200, 403, 429]
14+
# block automated requests, not broken links. 502 (Bad Gateway) is a
15+
# transient upstream error (e.g. open-vsx.org), not a broken link.
16+
accept = [200, 403, 429, 502]

0 commit comments

Comments
 (0)