mirror of
https://github.com/Grasscutters/gcgm-plugin.git
synced 2024-11-22 04:42:52 +08:00
Forgot curly brackets lol
This commit is contained in:
parent
9ed0d17975
commit
ab9a514f90
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user