shlink/config/autoload/middleware-pipeline.global.php

22 lines
444 B
PHP
Raw Normal View History

2016-04-10 10:38:07 +03:00
<?php
use Zend\Expressive\Container\ApplicationFactory;
return [
2016-04-17 20:34:16 +03:00
2016-04-10 10:38:07 +03:00
'middleware_pipeline' => [
'routing' => [
'middleware' => [
ApplicationFactory::ROUTING_MIDDLEWARE,
],
'priority' => 10,
],
'post-routing' => [
'middleware' => [
2016-04-10 10:38:07 +03:00
ApplicationFactory::DISPATCH_MIDDLEWARE,
],
'priority' => 1,
],
],
];