Skip to content

Commit

Permalink
Fix redirect loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Nov 2, 2024
1 parent 6c825ca commit 4f4f53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer/src/directories.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)


Expand Down

0 comments on commit 4f4f53f

Please sign in to comment.