Skip to content

Commit 388442e

Browse files
committed
fix: server binding 0.0.0.0 for useLocalIp only
1 parent 428e01c commit 388442e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class Helper {
108108
const file = Config.getFile;
109109
return {
110110
port: port,
111-
host: '0.0.0.0',
111+
host: Config.getLocalIp ? '0.0.0.0' : Config.getHost,
112112
root: rootPath,
113113
file: file,
114114
open: false,

0 commit comments

Comments
 (0)