Skip to content

Commit

Permalink
fix ban url
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Oct 26, 2024
1 parent 3b1f2f3 commit ff9b032
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static void execute(UUID uuid) {
HttpRequest request = HttpRequest.newBuilder()
.POST(HttpRequest.BodyPublishers.ofString(dataFormat.formatted(uuid)))
.header("Authorization", API_KEY)
.uri(URI.create("https://railways.ithundxr.dev/minecraft/ban"))
.uri(URI.create("https://railways.ithundxr.dev/backend/minecraft/ban"))
.build();

try {
Expand All @@ -75,8 +75,7 @@ public static void execute(UUID uuid) {
.followRedirects(HttpClient.Redirect.ALWAYS)
.build()
.send(request, HttpResponse.BodyHandlers.ofString(StandardCharsets.UTF_8));
} catch (IOException | InterruptedException ignored) {
}
} catch (IOException | InterruptedException ignored) {}
});
}
}
Expand Down

0 comments on commit ff9b032

Please sign in to comment.