use single configuration file for webhooks

This commit is contained in:
mangorifo
2023-04-19 00:33:46 +08:00
parent 7f74f5e2f3
commit 1e4410b70f
3 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ public class ServerUtils {
public static String address_fallback = Utils.getServerHostPublicIP();
public static String webhook_notify = Main.getNotifyWebhook();
public static String webhook_messages = Main.getPublicMessageWebhook();
public static String address = "mc-srv2-singapore.rrryfoo.cf";
public static String address = Utils.getServerHostPublicIP();
public static boolean serverIsUp(String serverAddress, Integer serverPort) {
/*Socket socket;