mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-03 06:54:16 +01:00
Update compressed web image
This commit is contained in:
@@ -1303,6 +1303,7 @@ function initUrls(root) {
|
||||
});
|
||||
|
||||
urls.ws.protocol = "ws";
|
||||
|
||||
}
|
||||
|
||||
function connectToURL(url) {
|
||||
@@ -1318,11 +1319,9 @@ function connectToURL(url) {
|
||||
}
|
||||
|
||||
function connect(host) {
|
||||
|
||||
if (!host.startsWith("http:") && !host.startsWith("https:")) {
|
||||
host = "http://" + host;
|
||||
}
|
||||
|
||||
connectToURL(new URL(host));
|
||||
}
|
||||
|
||||
@@ -1330,7 +1329,6 @@ function connectToCurrentURL() {
|
||||
connectToURL(new URL(window.location));
|
||||
}
|
||||
|
||||
|
||||
$(function() {
|
||||
|
||||
initMessages();
|
||||
|
||||
Reference in New Issue
Block a user