Skip to content

Commit

Permalink
fix: changed path matching for server to accept dots and dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
joseftaha committed Jul 16, 2024
1 parent abc45b0 commit fc57ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srv/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get(self, key: str):
def make_app(config_values: Path) -> tornado.web.Application:
return tornado.web.Application(
handlers=[
(r"/key/(?P<key>[\d\w]+)\/?", KeyValueHandler),
(r"/key/(?P<key>[\d\w.-]+)\/?", KeyValueHandler),
],
# settings:
config_values=config_values,
Expand Down

0 comments on commit fc57ce4

Please sign in to comment.