1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

set port env

This commit is contained in:
Damodar Lohani 2021-01-20 17:34:36 +05:45
parent c424373737
commit 234d0fdf82

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 */));