From d2909d4ebb1283b949e302af071701093a38224d Mon Sep 17 00:00:00 2001 From: qlin Date: Thu, 15 Aug 2024 10:28:16 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=20dev=20server?= =?UTF-8?q?=20ip=E7=9B=91=E5=90=AC=20(#247)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fes-utils/src/getHostName.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fes-utils/src/getHostName.js b/packages/fes-utils/src/getHostName.js index 4a5041b6b..ada21a1db 100644 --- a/packages/fes-utils/src/getHostName.js +++ b/packages/fes-utils/src/getHostName.js @@ -1 +1 @@ -export default (userHost) => process.env.HOST || userHost || 'localhost'; +export default userHost => process.env.HOST || userHost || '0.0.0.0';