shlink/module/Rest/config/middleware-pipeline.config.php

18 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,
],
],
];