mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-19 14:48:09 -07:00
default to "localhost:port" and not "":port
Windows doesn't handle empty addresses the way unix-like OSs do.
This commit is contained in:
+3
-3
@@ -15,13 +15,13 @@
|
||||
"respectAF": false,
|
||||
"clientWhitelistEnabled": false,
|
||||
"clientWhitelist": ["OP1011"],
|
||||
"apiListenAddr": ":6880",
|
||||
"apiListenAddr": "localhost:6880",
|
||||
"apiRequestTimeout": "4s",
|
||||
"apiReadTimeout": "4s",
|
||||
"apiWriteTimeout": "4s",
|
||||
"apiListenLimit": 0,
|
||||
"udpListenAddr": ":6881",
|
||||
"httpListenAddr": ":6881",
|
||||
"udpListenAddr": "localhost:6881",
|
||||
"httpListenAddr": "localhost:6881",
|
||||
"httpRequestTimeout": "4s",
|
||||
"httpReadTimeout": "4s",
|
||||
"httpWriteTimeout": "4s",
|
||||
|
||||
Reference in New Issue
Block a user