fix send reward urls

This commit is contained in:
MeexReay 2024-03-24 19:00:24 +03:00
parent 2406415923
commit 522cdee07f

View File

@ -200,7 +200,7 @@ public final class Main extends JavaPlugin implements Listener {
try { try {
httpClient.send(HttpRequest.newBuilder() httpClient.send(HttpRequest.newBuilder()
.POST(HttpRequest.BodyPublishers.ofString(body)) .POST(HttpRequest.BodyPublishers.ofString(body))
.uri(URI.create("https://froggymonitor.ru/api/set_reward_urls")) .uri(URI.create("http://froggymonitor.ru/api/set_reward_urls"))
.build(), HttpResponse.BodyHandlers.ofString()); .build(), HttpResponse.BodyHandlers.ofString());
} catch (IOException e) { } catch (IOException e) {
throw new RuntimeException(e); throw new RuntimeException(e);