Skip to content

Commit

Permalink
馃毀 Add HTTPS support
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalWilinski committed Aug 17, 2016
1 parent d7577c8 commit 5afd9c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ <h1 id="rpsStat">-</h1>
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 = [];

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "express-status-monitor",
"version": "0.0.6",
"version": "0.0.7",
"description": "Monitoring for Express-based Node applications",
"main": "app.js",
"keywords": [
Expand Down

0 comments on commit 5afd9c9

Please sign in to comment.