5afd9c9a by Rafal Wilinski

:construction: Add HTTPS support

1 parent d7577c85
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
136 Chart.defaults.global.elements.line.borderColor = "rgba(0,0,0,0.9)"; 136 Chart.defaults.global.elements.line.borderColor = "rgba(0,0,0,0.9)";
137 Chart.defaults.global.elements.line.borderWidth = 2; 137 Chart.defaults.global.elements.line.borderWidth = 2;
138 138
139 var socket = io('http://' + window.location.hostname + ':{{port}}'); 139 var socket = io(window.location.protocol + '//' + window.location.hostname + ':{{port}}');
140 var defaultSpan = 0; 140 var defaultSpan = 0;
141 var spans = []; 141 var spans = [];
142 142
......
1 { 1 {
2 "name": "express-status-monitor", 2 "name": "express-status-monitor",
3 "version": "0.0.6", 3 "version": "0.0.7",
4 "description": "Monitoring for Express-based Node applications", 4 "description": "Monitoring for Express-based Node applications",
5 "main": "app.js", 5 "main": "app.js",
6 "keywords": [ 6 "keywords": [
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!