fixed localhost default handling for windows when network card is off.
This commit is contained in:
parent
018cef42d7
commit
05749a02fd
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ colors.setTheme(
|
||||||
var defaults={
|
var defaults={
|
||||||
appspace : 'app.',
|
appspace : 'app.',
|
||||||
socketRoot : '/tmp/',
|
socketRoot : '/tmp/',
|
||||||
networkHost : 'localhost',
|
networkHost : '127.0.0.1',
|
||||||
networkPort : 8000,
|
networkPort : 8000,
|
||||||
id : os.hostname(),
|
id : os.hostname(),
|
||||||
encoding : 'utf8',
|
encoding : 'utf8',
|
||||||
|
@ -295,4 +295,4 @@ function connectNet(id,host,port,callback){
|
||||||
callback(ipc);
|
callback(ipc);
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports=ipc;
|
module.exports=ipc;
|
||||||
|
|
Loading…
Reference in a new issue