From bc64e37dd531d53ebfec50c986aab81758844fe3 Mon Sep 17 00:00:00 2001 From: Francesco Luzzana Date: Mon, 18 Apr 2022 02:38:09 +0200 Subject: [PATCH] typo in the socket client init --- skimmer/static/js/handle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, });