From 3af9e6cb9029259c799b649e22025eea8c8798ba Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Wed, 3 Mar 2021 22:24:03 -0700 Subject: [PATCH] Correct config default --- web/src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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