diff --git a/lua/gmod_integration/server/sv__websocket.lua b/lua/gmod_integration/server/sv__websocket.lua index 4e80cb8..5a5ddb9 100644 --- a/lua/gmod_integration/server/sv__websocket.lua +++ b/lua/gmod_integration/server/sv__websocket.lua @@ -33,7 +33,7 @@ if (!GWSockets) then end local function getWebSocketURL() - return "wss://" .. (gmInte.config.dev and websocketDevFQDN or websocketFQDN) + return "wss://" .. (gmInte.config.devInstance and websocketDevFQDN or websocketFQDN) end local socket = GWSockets.createWebSocket(getWebSocketURL())