shlink/module/Core/config/routes.config.php
2016-07-27 20:22:50 +02:00

16 lines
289 B
PHP

<?php
use Shlinkio\Shlink\Core\Action\RedirectAction;
return [
'routes' => [
[
'name' => 'long-url-redirect',
'path' => '/{shortCode}',
'middleware' => RedirectAction::class,
'allowed_methods' => ['GET'],
],
],
];