Skip to content

Commit 7205e23

Browse files
author
Aleksei
authored
fix: handle dynamic routes of any depth for WebController (litestar-org#186)
1 parent 2aaacaa commit 7205e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/domain/web/controllers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class WebController(Controller):
1212
opt = {"exclude_from_auth": True}
1313

1414
@get(
15-
path=[constants.SITE_INDEX, f"{constants.SITE_INDEX}/{{path:str}}"],
15+
path=[constants.SITE_INDEX, f"{constants.SITE_INDEX}/{{path:path}}"],
1616
operation_id="WebIndex",
1717
name="frontend:index",
1818
status_code=HTTP_200_OK,

0 commit comments

Comments
 (0)