Skip to content

Commit

Permalink
馃惉 Fix hardcoded hostname in index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalWilinski committed Aug 17, 2016
1 parent 74c4c02 commit 13b7e9c
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://localhost:41338');
var socket = io('http://' + window.location.hostname + ':41338');
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.3",
"version": "0.0.4",
"description": "Monitoring for Express-based Node applications",
"main": "app.js",
"keywords": [
Expand Down

0 comments on commit 13b7e9c

Please sign in to comment.