aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÄkwav <ekwav@coflnet.com>2023-08-30 19:35:40 +0200
committerÄkwav <ekwav@coflnet.com>2023-08-30 19:35:40 +0200
commit6bc4461a163f32bb5059a75e1afaabd55e026ad9 (patch)
tree2fab4913446efbf00f4cc75a125ed69dc5ab2b96
parent49893543a3286b12d09f224a651f24005e43f13e (diff)
downloadCOFL-6bc4461a163f32bb5059a75e1afaabd55e026ad9.tar.gz
COFL-6bc4461a163f32bb5059a75e1afaabd55e026ad9.tar.bz2
COFL-6bc4461a163f32bb5059a75e1afaabd55e026ad9.zip
remove wrong protocol connection attempt
-rw-r--r--src/main/java/de/torui/coflsky/CoflSky.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/de/torui/coflsky/CoflSky.java b/src/main/java/de/torui/coflsky/CoflSky.java
index eb26d21..8389676 100644
--- a/src/main/java/de/torui/coflsky/CoflSky.java
+++ b/src/main/java/de/torui/coflsky/CoflSky.java
@@ -40,10 +40,9 @@ public class CoflSky {
public static LocalConfig config;
public static final String[] webSocketURIPrefix = new String[]{
- "wss://sky.coflnet.com/modsocket",
- "wss://sky-mod.coflnet.com/modsocket",
- "ws://sky.coflnet.com/modsocket",
- "ws://sky-mod.coflnet.com/modsocket",
+ "wss://sky.coflnet.com/modsocket",
+ // fallback for old java versions not supporting new tls certificates
+ "ws://sky-mod.coflnet.com/modsocket",
};
public static String CommandUri = Config.BaseUrl + "/api/mod/commands";