Merge pull request #842 from lohanidamodar/feat-support-port-env
Feat support PORT env
This commit is contained in:
commit
033a7f2bfc
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ ini_set('display_errors', 1);
|
||||||
ini_set('display_startup_errors', 1);
|
ini_set('display_startup_errors', 1);
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
$http = new Server("0.0.0.0", 80);
|
$http = new Server("0.0.0.0", App::getEnv('PORT', 80));
|
||||||
|
|
||||||
$payloadSize = max(4000000 /* 4mb */, App::getEnv('_APP_STORAGE_LIMIT', 10000000 /* 10mb */));
|
$payloadSize = max(4000000 /* 4mb */, App::getEnv('_APP_STORAGE_LIMIT', 10000000 /* 10mb */));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue