From 09be85b49d18bf78d53e14f02973fc247c850272 Mon Sep 17 00:00:00 2001 From: Linventif Date: Tue, 27 Feb 2024 08:30:08 +0100 Subject: [PATCH] fix: use wss dev when devInstanceis on --- lua/gmod_integration/server/sv__websocket.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())