Skip to content

Commit 58fbabf

Browse files
committed
chore: allow single redirect
1 parent 6d391ba commit 58fbabf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lychee.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ max_cache_age = "1d"
66
# Ignore all private link (such as localhost) to avoid errors
77
exclude_all_private = true
88
# HTTP status code: 429 (Too Many Requests) will also be treated as a valid link if Lychee gets rate limited
9-
accept = [200, 201, 204, 206, 999]
9+
accept = [200, 201, 204, 206, 300, 301, 302, 303, 304, 307, 308, 999]
1010

1111
# Base URL or website root directory to check relative URLs.
1212
base_url = "https://nuxt.com/"
@@ -17,7 +17,7 @@ no_progress = true
1717
# include_fragments = true
1818

1919
# Follow redirects
20-
max_redirects = 0
20+
max_redirects = 1
2121

2222
# Set user agent to avoid bot blocking
2323
user_agent = "Mozilla/5.0 (compatible; lychee link checker)"

0 commit comments

Comments
 (0)