feat(config): 修改服务器监听地址为环境变量HOST

This commit is contained in:
mkm 2024-06-29 18:25:46 +08:00
parent 0fa71e2fe8
commit 4268069a16

View File

@ -13,7 +13,7 @@
*/
return [
'listen' => 'http://0.0.0.0:8545',
'listen' => getenv('HOST'),
'transport' => 'tcp',
'context' => [],
'name' => 'webman',