mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
(minor) Add missing query parameter to ServiceEndpoint.toURL
This commit is contained in:
parent
453bd6064b
commit
d185858266
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user