mirror of
https://github.com/shlinkio/shlink.git
synced 2026-10-12 13:31:58 -05:00
Removed concept of execution context and piped CloseDbConnectionMiddleware always
This commit is contained in:
1 parent
8a23c90e46
commit
c0bdd8fc77
5 files changed
+5
-37
No files matched your search
@@ -2,11 +2,8 @@
|
||||
declare(strict_types=1);
|
||||
|
||||
use Psr\Container\ContainerInterface;
|
||||
use Shlinkio\Shlink\Common\Exec\ExecutionContext;
|
||||
use Zend\Expressive\Application;
|
||||
|
||||
/** @var ContainerInterface $container */
|
||||
$container = include __DIR__ . '/../config/container.php';
|
||||
|
||||
putenv(sprintf('CURRENT_SHLINK_CONTEXT=%s', ExecutionContext::WEB));
|
||||
$container->get(Application::class)->run();
|
||||
Reference in new issue
Block a user