mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-18 13:13:33 -06:00
16 lines
297 B
PHP
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'],
|
|
],
|
|
],
|
|
|
|
];
|