Skip to content

Commit

Permalink
secure/non secure staging check update
Browse files Browse the repository at this point in the history
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
  • Loading branch information
Prince-Mendiratta committed Mar 2, 2023
1 parent bd27ca3 commit 030cbb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const server = http.createServer((request, response) => {
const apiRoot = apiRootMatch[1];

// apiRoot can only be staging or secure staging
hostname = apiRoot === proxyConfig.STAGING ? stagingHost : stagingSecureHost;
hostname = apiRoot === proxyConfig.STAGING_SECURE ? stagingSecureHost : stagingHost;

/**
* Replace the mapping url with the actual path.
Expand Down

0 comments on commit 030cbb2

Please sign in to comment.