mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-28 00:38:46 +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,
|
|
],
|
|
],
|
|
|
|
];
|