Merge pull request '更新配置' (#17) from dev into master

Reviewed-on: http://git.excellentkk.cn/mkm/shop-php/pulls/17
This commit is contained in:
mkm 2023-08-29 18:26:24 +08:00
commit 0bbdde7a1f

View File

@ -17,7 +17,7 @@ use think\swoole\websocket\socketio\Parser;
return [
'server' => [
'host' => env('SWOOLE_HOST', '0.0.0.0'), // 监听地址
'port' => env('SWOOLE_PORT', 8325), // 监听端口
'port' => env('SWOOLE_PORT', 8324), // 监听端口
'mode' => SWOOLE_PROCESS, // 运行模式 默认为SWOOLE_PROCESS
'sock_type' => SWOOLE_SOCK_TCP, // sock type 默认为SWOOLE_SOCK_TCP
'options' => [