Skip to content

Commit

Permalink
Fixed 404 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Feb 9, 2025
1 parent 2d0875b commit 3c0f3fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private static NameValuePair param(String name, String value) {

private URI buildBackendUri(String path, NameValuePair... params) {
try {
return new URIBuilder(address).setPathSegments(API_PREFIX, path).setParameters(params).build();
return new URIBuilder(address + API_PREFIX + "/" + path).setParameters(params).build();
} catch (URISyntaxException e) {
throw new RuntimeException("Failed to build URI", e);
}
Expand Down

0 comments on commit 3c0f3fa

Please sign in to comment.