mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-27 21:56:50 +01:00
small fix to routes with string
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user