diff --git a/code/common/service-discovery/src/main/java/nu/marginalia/service/discovery/property/ServiceEndpoint.java b/code/common/service-discovery/src/main/java/nu/marginalia/service/discovery/property/ServiceEndpoint.java index 01caba90..e8ce621e 100644 --- a/code/common/service-discovery/src/main/java/nu/marginalia/service/discovery/property/ServiceEndpoint.java +++ b/code/common/service-discovery/src/main/java/nu/marginalia/service/discovery/property/ServiceEndpoint.java @@ -40,7 +40,7 @@ public sealed interface ServiceEndpoint { @SneakyThrows public URL toURL(String endpoint, String query) { - return new URI("http", null, host, port, endpoint, null, null) + return new URI("http", null, host, port, endpoint, query, null) .toURL(); }