13b7e9ce by Rafal Wilinski

:dolphin: Fix hardcoded hostname in index.html

1 parent 74c4c027
...@@ -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://localhost:41338'); 139 var socket = io('http://' + window.location.hostname + ':41338');
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.3", 3 "version": "0.0.4",
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!