Skip to content

Commit

Permalink
Update session.js to allow proxy paths
Browse files Browse the repository at this point in the history
append paths rather than ignore the path from the server configuration
  • Loading branch information
schoterson authored Nov 29, 2023
1 parent 8f519a8 commit 366c059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function request(session, credentials, method, path, body, isRespStreaming) {
var httpOpts = {
hostname: urlParts.hostname,
port: urlParts.port,
path: path,
path: urlParts.path+path,
method: method,
headers: {
'Content-Type': contentType,
Expand Down Expand Up @@ -271,4 +271,4 @@ function request(session, credentials, method, path, body, isRespStreaming) {
return p;
};

module.exports = VantiqSession;
module.exports = VantiqSession;

0 comments on commit 366c059

Please sign in to comment.