fixed localhost default handling for windows when network card is off.

This commit is contained in:
Brandon Nozaki Miller 2015-07-24 12:13:53 -07:00
parent 018cef42d7
commit 05749a02fd

View file

@ -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;