Change socket to http

master
Wilco Kruijer 5 years ago
parent 255699115e
commit e94d89ddf1
  1. 2
      frontend/src/util/socket.ts

@ -1,7 +1,7 @@
import io from "socket.io-client"; import io from "socket.io-client";
const socket = io(window.location.protocol + "//" + window.location.hostname + ":3001"); const socket = io("http://" + window.location.hostname + ":3001");
export default socket; export default socket;
/** /**

Loading…
Cancel
Save