Skip to content

Commit 97b0d52

Browse files
authored
fixup! allow specified port lunchbox (#1257)
1 parent a15b7ef commit 97b0d52

File tree

1 file changed

+2
-1
lines changed
  • drivers/SmartThings/jbl/src/lunchbox

1 file changed

+2
-1
lines changed

drivers/SmartThings/jbl/src/lunchbox/rest.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ local function connect(client)
3030
port = 443
3131
use_ssl = true
3232
end
33-
33+
34+
local port = client.base_url.port or default_port
3435
local sock, err = client.socket_builder(client.base_url.host, port, use_ssl)
3536

3637
if sock == nil then

0 commit comments

Comments
 (0)