Not necessarily all netdata installations are on HTTPS

This commit is contained in:
Kasra Bigdeli
2020-04-24 19:11:25 -04:00
committed by GitHub
parent 5b04270148
commit 3e99a888c4
+1 -1
View File
@@ -109,7 +109,7 @@ app.use(CaptainConstants.netDataRelativePath, function(req, res, next) {
0
) {
let newUrl =
'https://' +
'http://' +
req.get('host') +
CaptainConstants.netDataRelativePath +
'/'