shlink/module/Core/config/routes.config.php

16 lines
297 B
PHP
Raw Normal View History

2016-04-10 10:38:07 +03:00
<?php
2016-07-19 19:01:39 +03:00
use Shlinkio\Shlink\Core\Action\RedirectMiddleware;
2016-04-10 10:38:07 +03:00
return [
'routes' => [
[
'name' => 'long-url-redirect',
'path' => '/{shortCode}',
2016-07-19 19:01:39 +03:00
'middleware' => RedirectMiddleware::class,
'allowed_methods' => ['GET'],
],
2016-04-10 10:38:07 +03:00
],
2016-04-17 20:34:16 +03:00
2016-04-10 10:38:07 +03:00
];