From 6bc4461a163f32bb5059a75e1afaabd55e026ad9 Mon Sep 17 00:00:00 2001 From: Äkwav Date: Wed, 30 Aug 2023 19:35:40 +0200 Subject: remove wrong protocol connection attempt --- src/main/java/de/torui/coflsky/CoflSky.java | 7 +++---- 1 file 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"; -- cgit