diff --git a/components/app.js b/components/app.js index 1952c0c..6b2da31 100644 --- a/components/app.js +++ b/components/app.js @@ -76,6 +76,9 @@ function fillConnectParams(params) { if (params.url.startsWith("/")) { params.url = proto + "//" + host + params.url; } + if (params.url.indexOf("://") < 0) { + params.url = proto + "//" + params.url; + } if (!params.username) { params.username = params.nick; }