This commit is contained in:
root
2024-11-23 05:46:17 -05:00
parent 3ab44d04e2
commit 419adaa71e
2 changed files with 21 additions and 19 deletions
+5 -5
View File
@@ -4,15 +4,15 @@ require(__DIR__ . '/vendor/autoload.php');
define('ROOT', __DIR__);
// listen address, change to 0.0.0.0 to handle public requests
define('ADDR', '127.0.0.1');
define("PORT", 8080);
define('ADDR', '0.0.0.0');
define("PORT", 10500);
// use jsdelivr/cnpmjs
define('JSDELIVR', true);
define('CNPMJS', true);
define('JSDELIVR', false);
define('CNPMJS', false);
// download size limit, defaults to 2GB
define('SIZE_LIMIT', 2 * 1024 * 1024 * 1024);
define('SIZE_LIMIT', 10 * 1024 * 1024 * 1024);
$loop = React\EventLoop\Factory::create();