typo in the socket client init

master
km0 3 years ago
parent f99982251d
commit bc64e37dd5

@ -1,7 +1,7 @@
// NOT ELEGANT SOLUTION FOR LOCAL DEV // NOT ELEGANT SOLUTION FOR LOCAL DEV
let path = document.URL.startsWith("http://127.0.0.1") ? "" : "/soupboat/skimmer/socket.io"; 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, path: path,
}); });

Loading…
Cancel
Save