From e94d89ddf14fbcf249daff71b523f918c6455888 Mon Sep 17 00:00:00 2001 From: Wilco Kruijer Date: Wed, 19 Feb 2020 13:48:19 +0100 Subject: [PATCH] Change socket to http --- frontend/src/util/socket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/util/socket.ts b/frontend/src/util/socket.ts index 40bf83a..e7c08fc 100644 --- a/frontend/src/util/socket.ts +++ b/frontend/src/util/socket.ts @@ -1,7 +1,7 @@ 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; /**