修改gateway监听端口
This commit is contained in:
@@ -7,7 +7,7 @@ use Webman\GatewayWorker\Register;
|
||||
return [
|
||||
'gateway' => [
|
||||
'handler' => Gateway::class,
|
||||
'listen' => 'websocket://0.0.0.0:5151',
|
||||
'listen' => 'websocket://0.0.0.0:' . getenv('GATEWAY_LISTEN'),
|
||||
'count' => 2,
|
||||
'reloadable' => false,
|
||||
'constructor' => ['config' => [
|
||||
|
||||
Reference in New Issue
Block a user