Forgot curly brackets lol

This commit is contained in:
Benjamin Elsdon 2022-05-11 09:11:12 +08:00
parent 9ed0d17975
commit ab9a514f90

View File

@ -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";