mirror of
https://github.com/Xahau/xahau.js.git
synced 2026-04-29 15:37:50 +00:00
Update remote init test
This commit is contained in:
@@ -23,7 +23,7 @@ function Server(remote, opts) {
|
||||
}
|
||||
|
||||
if (!opts.host) opts.host = opts.websocket_ip;
|
||||
if (!opts.port) opts.host = opts.websocket_port;
|
||||
if (!opts.port) opts.port = opts.websocket_port;
|
||||
if (!opts.secure) opts.secure = opts.websocket_ssl;
|
||||
|
||||
if (typeof opts.secure === 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user