1
0
Fork 0
mirror of synced 2024-06-28 11:10:46 +12:00

Merge pull request #842 from lohanidamodar/feat-support-port-env

Feat support PORT env
This commit is contained in:
Eldad A. Fux 2021-01-20 13:53:18 +02:00 committed by GitHub
commit 033a7f2bfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
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 */));