fix: use wss dev when devInstanceis on

This commit is contained in:
Linventif 2024-02-27 08:30:08 +01:00
parent 8f4249a68d
commit 09be85b49d
No known key found for this signature in database
GPG Key ID: FAC0CA60F9AEEC24

View File

@ -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())