diff --git a/web/static/js/socket.js b/web/static/js/socket.js index 455e22d..7f32422 100644 --- a/web/static/js/socket.js +++ b/web/static/js/socket.js @@ -3,7 +3,7 @@ import Rickshaw from "rickshaw" class App { static init(){ - let socket = new Socket("/socket") + let socket = new Socket(MOUNT_PATH + "/socket") let graph = new Rickshaw.Graph({ element: document.querySelector("#graph"),