Optimized clean response handling

This commit is contained in:
Bernd Bestel
2021-07-12 17:08:59 +02:00
parent 2cc4f4d382
commit f1da3ef5e8
3 changed files with 2 additions and 3 deletions

View File

@@ -101,4 +101,6 @@ $errorMiddleware->setDefaultErrorHandler(
);
$app->add(new CorsMiddleware($app->getResponseFactory()));
ob_clean(); // No response output before here
$app->run();