converse.js: set https bosh link
This commit is contained in:
parent
b0bb441f3f
commit
da99da5b6d
@ -2,11 +2,17 @@
|
||||
== stylesheet_link_tag "converse/converse.min.css"
|
||||
== javascript_include_tag "converse.min.js"
|
||||
javascript:
|
||||
var bosh_url;
|
||||
if (window.location.protocol == "https:") {
|
||||
bosh_url = 'https//higgsboson.tk:5281/http-bind/'
|
||||
} else {}
|
||||
bosh_url = 'http//higgsboson.tk:5280/http-bind/'
|
||||
}
|
||||
require(['converse'], function (converse) {
|
||||
converse.initialize({
|
||||
auto_list_rooms: false,
|
||||
auto_subscribe: false,
|
||||
bosh_service_url: '//higgsboson.tk:5820/http-bind', // Please use this connection manager only for testing purposes
|
||||
bosh_service_url: bosh_url,
|
||||
hide_muc_server: false,
|
||||
i18n: locales.en,
|
||||
prebind: false,
|
||||
|
Loading…
Reference in New Issue
Block a user