Skip to content

Commit

Permalink
Fix issue #5 + update npm version
Browse files Browse the repository at this point in the history
  • Loading branch information
Schouten, K committed Nov 25, 2019
1 parent 9f61898 commit 5dcb0e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ function buildRequestUrl(uri, options) {
ret += "?" + uri.query;
}
if (options.configuration.client) {
ret += '&sap-client=' +options.client;
ret += (uri.query) ? '&' : '?';
ret += 'sap-client=' + options.configuration.client;
}
return ret;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui5-middleware-proxy-basicauth",
"version": "0.0.4",
"version": "0.0.5",
"description": "UI5 Middleware Proxy with Basic auth",
"author": "Koen Schouten",
"license": "Apache-2.0",
Expand Down

0 comments on commit 5dcb0e2

Please sign in to comment.