Skip to content

Commit

Permalink
Moved version check server
Browse files Browse the repository at this point in the history
  • Loading branch information
LatvianModder committed Jan 30, 2024
1 parent 130a9dc commit 9c4fb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/main/java/dev/latvian/mods/kubejs/KubeJS.java
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public void loadComplete() {
.followRedirects(HttpClient.Redirect.ALWAYS)
.connectTimeout(Duration.ofSeconds(5L))
.build()
.send(HttpRequest.newBuilder().uri(URI.create("https://kubejs.com/update-check?" + QUERY)).GET().build(), HttpResponse.BodyHandlers.ofString(StandardCharsets.UTF_8));
.send(HttpRequest.newBuilder().uri(URI.create("https://v.kubejs.com/update-check?" + QUERY)).GET().build(), HttpResponse.BodyHandlers.ofString(StandardCharsets.UTF_8));
if (response.statusCode() == 200) {
var body = response.body().trim();

Expand Down

0 comments on commit 9c4fb36

Please sign in to comment.