Update domain name for server comms
This commit is contained in:
parent
76d0b60eb1
commit
15e2685040
2 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue