Revert "Use smaller chunks (see https://github.com/slimphp/Slim/issues/1836)"
This reverts commit fca0ab6b49
.
This commit is contained in:
parent
f267bac3ba
commit
adbf6be0af
1 changed files with 1 additions and 7 deletions
|
@ -16,13 +16,7 @@ require_once __DIR__.'/vendor/autoload.php';
|
||||||
use Alltube\VideoDownload;
|
use Alltube\VideoDownload;
|
||||||
use Alltube\Controller\FrontController;
|
use Alltube\Controller\FrontController;
|
||||||
|
|
||||||
$app = new \Slim\App(
|
$app = new \Slim\App();
|
||||||
array(
|
|
||||||
'settings'=>array(
|
|
||||||
'responseChunkSize'=>1024
|
|
||||||
)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
$container = $app->getContainer();
|
$container = $app->getContainer();
|
||||||
$container['view'] = function ($c) {
|
$container['view'] = function ($c) {
|
||||||
$view = new \Slim\Views\Smarty(__DIR__.'/templates/');
|
$view = new \Slim\Views\Smarty(__DIR__.'/templates/');
|
||||||
|
|
Loading…
Reference in a new issue