diff --git a/web/src/config.js b/web/src/config.js index a887287..39ebe35 100644 --- a/web/src/config.js +++ b/web/src/config.js @@ -8,4 +8,4 @@ export const websocket_uri = `/`; * The websocket URI that Socket.IO tries to connect to when live-serving the * site via webpack. */ -export const dev_websocket_uri = 8081; \ No newline at end of file +export const dev_websocket_uri = `http://${window.location.hostname}:8081`; \ No newline at end of file