diff --git a/skimmer/static/js/handle.js b/skimmer/static/js/handle.js index 88dbac2..e6eb134 100644 --- a/skimmer/static/js/handle.js +++ b/skimmer/static/js/handle.js @@ -1,7 +1,7 @@ // NOT ELEGANT SOLUTION FOR LOCAL DEV let path = document.URL.startsWith("http://127.0.0.1") ? "" : "/soupboat/skimmer/socket.io"; -let socket = io("http://127.0.0.1:5000", { +let socket = io({ path: path, });