shlink/config/autoload/middleware-pipeline.global.php
2016-07-31 16:42:19 +02:00

21 lines
444 B
PHP

<?php
use Zend\Expressive\Container\ApplicationFactory;
return [
'middleware_pipeline' => [
'routing' => [
'middleware' => [
ApplicationFactory::ROUTING_MIDDLEWARE,
],
'priority' => 10,
],
'post-routing' => [
'middleware' => [
ApplicationFactory::DISPATCH_MIDDLEWARE,
],
'priority' => 1,
],
],
];