Skip to content

Commit

Permalink
Not necessarily all netdata installations are on HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
githubsaturn authored Apr 24, 2020
1 parent 5b04270 commit 3e99a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ app.use(CaptainConstants.netDataRelativePath, function(req, res, next) {
0
) {
let newUrl =
'https://' +
'http://' +
req.get('host') +
CaptainConstants.netDataRelativePath +
'/'
Expand Down

0 comments on commit 3e99a88

Please sign in to comment.