13b7e9ce by Rafal Wilinski

:dolphin: Fix hardcoded hostname in index.html

1 parent 74c4c027
......@@ -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://localhost:41338');
var socket = io('http://' + window.location.hostname + ':41338');
var defaultSpan = 0;
var spans = [];
......
{
"name": "express-status-monitor",
"version": "0.0.3",
"version": "0.0.4",
"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!