mirror of
https://github.com/shlinkio/shlink.git
synced 2026-08-13 06:24:44 -05:00
Fixed Action prefix on routable middlewares
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
use Shlinkio\Shlink\Core\Action\RedirectMiddleware;
|
||||
use Shlinkio\Shlink\Core\Action\RedirectAction;
|
||||
|
||||
return [
|
||||
|
||||
@@ -7,7 +7,7 @@ return [
|
||||
[
|
||||
'name' => 'long-url-redirect',
|
||||
'path' => '/{shortCode}',
|
||||
'middleware' => RedirectMiddleware::class,
|
||||
'middleware' => RedirectAction::class,
|
||||
'allowed_methods' => ['GET'],
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user