Skip to content

Commit 26c30c5

Browse files
cmyuiclaude
andcommitted
Enable redirect following in HTTP client for osu_direct mirror
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent fe080bf commit 26c30c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/adapters/osu_mirrors/backends/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
3535
self.http_client = httpx.AsyncClient(
3636
headers={"User-Agent": "Akatsuki-Beatmaps-Service/1.0"},
3737
timeout=httpx.Timeout(10.0, connect=5.0),
38+
follow_redirects=True,
3839
)
3940
# Initialize health tracking with optional rate limiter
4041
rate_limiter = None

0 commit comments

Comments
 (0)