From 4f4f53fd3883b44f5ca0ee84aa5b08e8e3526d43 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Sat, 2 Nov 2024 21:52:37 +0000 Subject: [PATCH] Fix redirect loop --- indexer/src/directories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/src/directories.py b/indexer/src/directories.py index 30853e2..c999833 100644 --- a/indexer/src/directories.py +++ b/indexer/src/directories.py @@ -141,7 +141,7 @@ async def repository_branch_request(branch): if len(index.index["channels"]) == 0: return JSONResponse("No channels found!", status_code=404) return RedirectResponse( - os.path.join(settings.base_url, prefix, branch), status_code=303 + os.path.join(settings.base_url + prefix, branch), status_code=303 )