diff --git a/lib/inspectors/weinre.js b/lib/inspectors/weinre.js index 01f5b81f9..f737486b7 100644 --- a/lib/inspectors/weinre.js +++ b/lib/inspectors/weinre.js @@ -11,7 +11,7 @@ var weinreHtmlScript = '\r\n\r\n'; function getScript(host, name, isHtml, req) { host = util.getInternalHost(req, host); var weinrePath = - (req.isHttps ? 'https://' : 'http://') + + '//' + host + config.WEBUI_PATH + 'weinre.' +