correct accept header
All checks were successful
Publish to snapshot maven / build (push) Successful in 19s

This commit is contained in:
moehreag 2024-08-28 12:50:50 +02:00
parent f74fbc5248
commit bc47d9cc1a
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ plugins {
}
group = "dev.frogmc"
version = "0.0.1-alpha.14"
version = "0.0.1-alpha.15"
repositories {
mavenCentral()

View file

@ -31,7 +31,7 @@ public class HttpHelper {
try (HttpClient client = HttpClient.newHttpClient()) {
HttpRequest request = HttpRequest.newBuilder()
.header("User-Agent", Constants.USER_AGENT)
.header("Accept", "application/json")
.header("Accept", "*/*")
.GET()
.uri(URI.create(url))
.build();