mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-30 19:36:40 +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,
|
|
],
|
|
],
|
|
|
|
];
|