Skip to content

Commit

Permalink
UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amithkoujalgi committed Oct 25, 2023
1 parent 79321bb commit 6a32aa0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions sys_stats/static/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// noinspection JSUnresolvedReference


let socket = io("ws://0.0.0.0:8070");
let socket = io(`ws://${window.location.host}`);

$(document).ready(function () {
let url = window.location.href;
Expand Down
4 changes: 1 addition & 3 deletions sys_stats/static/ports/ports.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// noinspection JSUnresolvedReference


let socket = io("ws://0.0.0.0:8070");
let socket = io(`ws://${window.location.host}`);

$(document).ready(function () {
let url = window.location.href;
Expand Down
2 changes: 1 addition & 1 deletion sys_stats/static/stats/stats.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// noinspection JSUnresolvedReference
let socket = io("ws://0.0.0.0:8070");
let socket = io(`ws://${window.location.host}`);

function plotMemoryChart(percentage, total, used) {
let data = [
Expand Down

0 comments on commit 6a32aa0

Please sign in to comment.