mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-25 05:58:23 +03:00
15 lines
297 B
PHP
15 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'],
|
|
],
|
|
],
|
|
|
|
];
|