elf 1 year ago
parent 6c2a3e0c6f
commit 4d1b34bf26

@ -20,7 +20,7 @@ return [
'name' => 'http',
'type' => Server::SERVER_HTTP,
'host' => '0.0.0.0',
'port' => env('HTTP_PORT', 9501),
'port' => (int)env('HTTP_PORT', 9501),
'sock_type' => SWOOLE_SOCK_TCP,
'callbacks' => [
Event::ON_REQUEST => [Hyperf\HttpServer\Server::class, 'onRequest'],

Loading…
Cancel
Save