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

18 lines
409 B
PHP
Raw Normal View History

2016-07-19 18:07:59 +03:00
<?php
use Shlinkio\Shlink\Rest\Middleware;
return [
'middleware_pipeline' => [
'rest' => [
'path' => '/rest',
'middleware' => [
Middleware\CrossDomainMiddleware::class,
Middleware\BodyParserMiddleware::class,
2016-07-19 18:07:59 +03:00
Middleware\CheckAuthenticationMiddleware::class,
],
'priority' => 5,
],
],
];