mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Defined custom NotFoundMiddleware for rest routes
This commit is contained in:
@@ -23,7 +23,7 @@ return [
|
||||
'allowed_methods' => ['GET', 'OPTIONS'],
|
||||
],
|
||||
[
|
||||
'name' => 'rest-lActionist-shortened-url',
|
||||
'name' => 'rest-list-shortened-url',
|
||||
'path' => '/rest/short-codes',
|
||||
'middleware' => Action\ListShortcodesMiddleware::class,
|
||||
'allowed_methods' => ['GET'],
|
||||
|
||||
Reference in New Issue
Block a user