mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-11 08:38:03 +03:00
29 lines
769 B
PHP
29 lines
769 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
use Shlinkio\Shlink\Common\Factory\EmptyResponseImplicitOptionsMiddlewareFactory;
|
|
use Zend\Expressive;
|
|
use Zend\Expressive\Container;
|
|
use Zend\Expressive\Router\Middleware\ImplicitOptionsMiddleware;
|
|
|
|
return [
|
|
|
|
'dependencies' => [
|
|
'factories' => [
|
|
ImplicitOptionsMiddleware::class => EmptyResponseImplicitOptionsMiddlewareFactory::class,
|
|
],
|
|
|
|
'delegators' => [
|
|
Expressive\Application::class => [
|
|
Container\ApplicationConfigInjectionDelegator::class,
|
|
],
|
|
],
|
|
|
|
'lazy_services' => [
|
|
'proxies_target_dir' => 'data/proxies',
|
|
'proxies_namespace' => 'ShlinkProxy',
|
|
'write_proxy_files' => true,
|
|
],
|
|
],
|
|
|
|
];
|