mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-25 02:32:26 -05:00
Don't always set transport to websocket
This commit is contained in:
parent
f0e627338e
commit
1e60367438
@ -9,7 +9,7 @@ $('#loginbox form').on('submit', function (e) {
|
||||
if (connURL.indexOf('http') === 0) {
|
||||
boshURL = connURL;
|
||||
transport = 'bosh';
|
||||
} else {
|
||||
} else if (connURL.indexOf('ws') === 0) {
|
||||
wsURL = connURL;
|
||||
transport = 'websocket';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user