5afd9c9a by Rafal Wilinski

:construction: Add HTTPS support

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