mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-17 16:42:12 +03:00
17 lines
409 B
PHP
17 lines
409 B
PHP
<?php
|
|
use Shlinkio\Shlink\Rest\Middleware;
|
|
|
|
return [
|
|
|
|
'middleware_pipeline' => [
|
|
'rest' => [
|
|
'path' => '/rest',
|
|
'middleware' => [
|
|
Middleware\BodyParserMiddleware::class,
|
|
Middleware\CheckAuthenticationMiddleware::class,
|
|
Middleware\CrossDomainMiddleware::class,
|
|
],
|
|
'priority' => 5,
|
|
],
|
|
],
|
|
];
|