From ba2c2acf028f3ba7b246d0c2fd66684352453334 Mon Sep 17 00:00:00 2001 From: Meo597 <197331664+Meo597@users.noreply.github.com> Date: Wed, 28 Oct 2026 19:22:12 +0800 Subject: [PATCH] 20 redirects --- app/geodata/download.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/geodata/download.go b/app/geodata/download.go index be1601bdb..4d941af58 100644 --- a/app/geodata/download.go +++ b/app/geodata/download.go @@ -114,8 +114,8 @@ func newClient(baseCtx context.Context, dispatcher routing.Dispatcher, outbound if req.URL.Scheme != "https" { return errors.New("redirected to non-https URL: ", req.URL.String()) } - if len(via) >= 10 { - return errors.New("stopped after 10 redirects") + if len(via) >= 20 { + return errors.New("stopped after 20 redirects") } return nil },