From ab9a514f9002bb16271043670333cac34ad63875 Mon Sep 17 00:00:00 2001 From: Benjamin Elsdon Date: Wed, 11 May 2022 09:11:12 +0800 Subject: [PATCH] Forgot curly brackets lol --- web-interface/src/Context/WebsocketProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-interface/src/Context/WebsocketProvider.js b/web-interface/src/Context/WebsocketProvider.js index 0181c3a..38c30f4 100644 --- a/web-interface/src/Context/WebsocketProvider.js +++ b/web-interface/src/Context/WebsocketProvider.js @@ -9,7 +9,7 @@ const host = window.location.host; const port = window.location.port; function getWebsocketURL() { - if(ReactIsInDevelopmentMode) { + if(ReactIsInDevelopmentMode()) { return "wss://localhost:443/gm"; } else { return protocol + "://"+ host +":" + port + "/gm";