small fix to routes with string

This commit is contained in:
slawkens
2023-02-15 17:32:48 +01:00
parent d17c547bca
commit 61285b6b8c
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ $dispatcher = FastRoute\cachedDispatcher(function (FastRoute\RouteCollector $r)
$aliases = [
[':int', ':string', ':alphanum'],
[':\d+', ':[A-Za-z0-9-_%+\']+}', ':[A-Za-z0-9]+'],
[':\d+', ':[A-Za-z0-9-_%+\']+', ':[A-Za-z0-9]+'],
];
// apply aliases