We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3c1213 + 31b0a67 commit eb85503Copy full SHA for eb85503
source/interface/custom.js
@@ -3,7 +3,7 @@ const { encodePath, joinURL, prepareRequestOptions, request } = require("../requ
3
4
function customRequest(remotePath, requestOptions, options) {
5
if (!requestOptions.url) {
6
- requestOptions.url = joinURL(options.remoteURL, encodePath(remotePath), "/");
+ requestOptions.url = joinURL(options.remoteURL, encodePath(remotePath));
7
}
8
prepareRequestOptions(requestOptions, options);
9
return request(requestOptions).then(handleResponseCode);
0 commit comments