shlink/module/Core/config/routes.config.php
2016-07-19 18:01:39 +02:00

16 lines
297 B
PHP

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