Skip to content

Commit

Permalink
[Fix] routing: chunk expression
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien committed Sep 16, 2024
1 parent 8628e39 commit ace6a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/extra/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Route:
"integer": RoutePattern(r"\-?\d+", int),
"float": RoutePattern(r"\-?\d*.?\d+", float),
"file": RoutePattern(r"\w+(.\w+)", str),
"chunk": RoutePattern(r"[^/^.]+", str),
"chunk": RoutePattern(r"[^/]+", str),
"topics": RoutePattern(
r"[A-Za-z0-9_\-\.]+(/[A-Za-z0-9_\-\.]+)*", lambda _: _.split("/")
),
Expand Down

0 comments on commit ace6a9d

Please sign in to comment.