Skip to content

Commit 521099c

Browse files
committed
fix slash redirection on root
1 parent 41ce177 commit 521099c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controllers/root_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414

1515
class RootController:
1616
@staticmethod
17-
@router.get("/", include_in_schema=False)
17+
@router.get("/", include_in_schema=False, redirect_slashes=True)
1818
def get_all_countries():
1919
return RedirectResponse(url="/docs" if PROXY_PATH is None else f"/{PROXY_PATH}/docs")

0 commit comments

Comments
 (0)