diff --git a/semag/eg1.8/index.html b/semag/eg1.8/index.html
index e7331402..4e285e96 100644
--- a/semag/eg1.8/index.html
+++ b/semag/eg1.8/index.html
@@ -30,7 +30,7 @@
localesURI: "lang/",
worldsDB: "worlds",
servers: [
- { addr: "wss://" + location.host + "/mc", name: "§b§lEthereal",hideAddress:true},
+ { addr: (location.protocol.includes("s") ? "wss": "ws") + "://" + location.host + "/mc", name: "§b§lEthereal",hideAddress:true},
{ addr: "wss://ethereal.mov", name: "§b§lEthereal§r§8§o (backup)",hideAddress:true}
],
relays: [