GUH
This commit is contained in:
parent
8fb06c39b1
commit
77d779dd4d
|
@ -24,7 +24,7 @@ local ws = function (dict)
|
|||
end
|
||||
local server = game:GetService('HttpService')
|
||||
local id = server:RequestAsync({
|
||||
["Url"] = BaseUrl .. "/connect/" .. JobId,
|
||||
["Url"] = BaseUrl .. "api/connect/" .. JobId,
|
||||
["Method"] = "PUT",
|
||||
["Body"] = dict.url
|
||||
}).Body
|
||||
|
@ -44,7 +44,7 @@ local ws = function (dict)
|
|||
|
||||
local loop = coroutine.create(function()
|
||||
while wait(50 / 1000) do
|
||||
local msg = server:GetAsync(BaseUrl .. "poll/"..JobId.."/"..id)
|
||||
local msg = server:GetAsync(BaseUrl .. "api/poll/"..JobId.."/"..id)
|
||||
if notExists(messages, msg) then
|
||||
table.insert(messages, msg)
|
||||
if notEmpty(msg) then
|
||||
|
|
Loading…
Reference in a new issue