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

16 lines
297 B
PHP
Raw Normal View History

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