mirror of
https://github.com/status-im/react-native-tcp.git
synced 2025-02-28 18:00:30 +00:00
refactor of default binding address
This commit is contained in:
parent
c82dfe90bc
commit
7f33dfbfff
@ -71,7 +71,7 @@ TcpServer.prototype.listen = function() : TcpServer {
|
||||
var callback = args[1];
|
||||
|
||||
var port = options.port;
|
||||
var host = options.host || 'localhost';
|
||||
var host = options.host || '0.0.0.0';
|
||||
|
||||
if (callback) {
|
||||
this.on('listening', callback);
|
||||
|
Loading…
x
Reference in New Issue
Block a user