Skip to content

Commit

Permalink
Don't pull proto in header (#460)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Cunningham <[email protected]>
  • Loading branch information
digitaldan authored May 27, 2024
1 parent 698e7a1 commit 5e0dc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ Routes.prototype.proxyRouteOpenhab = function (req, res) {
requestPath = requestPath.replace('/remote', '');
// TODO: this is too dirty :-(
delete requestHeaders['host'];
requestHeaders['host'] = system.getProxyURL();
requestHeaders['host'] = system.getProxyHost() + ':' + system.getProxyPort();
}

// Send a message with request to openhab agent module
Expand Down

0 comments on commit 5e0dc80

Please sign in to comment.