Update domain name for server comms

This commit is contained in:
zontreck 2024-03-16 13:44:47 -07:00
parent 76d0b60eb1
commit 15e2685040
2 changed files with 2 additions and 2 deletions

View file

@ -1182,7 +1182,7 @@ public final class Minecraft implements Runnable {
HTTPResponse response = null;
try {
response = HTTPRequestBuilder.builder()
.withURL("https://api.zontreck.dev/zni/yggdrasil/legacy/server.php")
.withURL("https://api.zontreck.com/zni/yggdrasil/legacy/server.php")
.withContentType("application/x-www-form-urlencoded")
.withMethod(HTTPMethod.POST)
.withBody("id=" + serverArg.getValue())

View file

@ -192,7 +192,7 @@ public class MinecraftServer implements Runnable {
}else {
try {
URL server = new URL("https://api.zontreck.dev/zni/yggdrasil/legacy/heartbeat.php");
URL server = new URL("https://api.zontreck.com/zni/yggdrasil/legacy/heartbeat.php");
HttpURLConnection conn = (HttpURLConnection)server.openConnection();
conn.setRequestMethod("POST");
conn.setDoOutput(true);