We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658d8e4 commit a2f258cCopy full SHA for a2f258c
1 file changed
lua/sa/central/server/ws.lua
@@ -5,6 +5,8 @@ SA.REQUIRE("central.main")
5
local apiConfig = SA.Config.Load("api", true) or {}
6
apiConfig.centralUrl = apiConfig.centralUrl or "NONE"
7
8
+require("stomp")
9
+
10
if SA.Central.Socket then
11
SA.Central.Socket:close()
12
SA.Central.Socket = nil
@@ -58,10 +60,6 @@ ConnectCentral = function()
58
60
return
59
61
end
62
- if not NewSTOMPSocket then
- require("stomp")
63
- end
64
-
65
ourIdent = SA.API.GetServerName()
66
local ourKey = SA.API.GetServerToken()
67
0 commit comments