mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:07:34 +00:00
fix: use wss dev when devInstanceis on
This commit is contained in:
parent
8f4249a68d
commit
09be85b49d
|
@ -33,7 +33,7 @@ if (!GWSockets) then
|
||||||
end
|
end
|
||||||
|
|
||||||
local function getWebSocketURL()
|
local function getWebSocketURL()
|
||||||
return "wss://" .. (gmInte.config.dev and websocketDevFQDN or websocketFQDN)
|
return "wss://" .. (gmInte.config.devInstance and websocketDevFQDN or websocketFQDN)
|
||||||
end
|
end
|
||||||
|
|
||||||
local socket = GWSockets.createWebSocket(getWebSocketURL())
|
local socket = GWSockets.createWebSocket(getWebSocketURL())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user