Update domain name for server comms
This commit is contained in:
parent
0b6b1b618b
commit
978f1d8e82
4 changed files with 8 additions and 8 deletions
|
@ -27,11 +27,11 @@ configurations {
|
|||
repositories {
|
||||
// Use Maven Central for resolving dependencies.
|
||||
maven {
|
||||
url = "https://maven.zontreck.dev/repository/internal"
|
||||
url = "https://maven.zontreck.com/repository/internal"
|
||||
name = "Aria's Creations Caches"
|
||||
}
|
||||
maven {
|
||||
url = "https://maven.zontreck.dev/repository/zontreck"
|
||||
url = "https://maven.zontreck.com/repository/zontreck"
|
||||
name = "Aria's Creations"
|
||||
}
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ dependencies {
|
|||
provided ("org.lwjgl.lwjgl:lwjgl:2.9.3")
|
||||
provided ("org.lwjgl.lwjgl:lwjgl_util:2.9.3")
|
||||
provided ("org.lwjgl.lwjgl:lwjgl-platform:2.9.3")
|
||||
provided ("dev.zontreck:LibAC:1.4.15")
|
||||
provided ("dev.zontreck:LibAC:1.5.11")
|
||||
}
|
||||
|
||||
// Apply a specific Java toolchain to ease working on different environments.
|
||||
|
|
|
@ -1223,7 +1223,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/crafting/yggdrasil/legacy/server.php")
|
||||
.withContentType("application/x-www-form-urlencoded")
|
||||
.withMethod(HTTPMethod.POST)
|
||||
.withBody("id=" + serverArg.getValue() +
|
||||
|
|
|
@ -27,17 +27,17 @@ configurations {
|
|||
repositories {
|
||||
// Use Maven Central for resolving dependencies.
|
||||
maven {
|
||||
url = "https://maven.zontreck.dev/repository/internal"
|
||||
url = "https://maven.zontreck.com/repository/internal"
|
||||
name = "Aria's Creations Caches"
|
||||
}
|
||||
maven {
|
||||
url = "https://maven.zontreck.dev/repository/zontreck"
|
||||
url = "https://maven.zontreck.com/repository/zontreck"
|
||||
name = "Aria's Creations"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
provided ("dev.zontreck:LibAC:1.4.15")
|
||||
provided ("dev.zontreck:LibAC:1.5.11")
|
||||
}
|
||||
|
||||
// Apply a specific Java toolchain to ease working on different environments.
|
||||
|
|
|
@ -21,7 +21,7 @@ final class HeartbeatThread extends Thread {
|
|||
HttpURLConnection var1 = null;
|
||||
|
||||
try {
|
||||
URL var2 = new URL("https://api.zontreck.dev/zni/yggdrasil/legacy/heartbeat_2.php");
|
||||
URL var2 = new URL("https://api.zontreck.com/crafting/yggdrasil/legacy/heartbeat_2.php");
|
||||
var1 = (HttpURLConnection)var2.openConnection();
|
||||
var1.setRequestMethod("POST");
|
||||
var1.setDoOutput(true);
|
||||
|
|
Loading…
Reference in a new issue