From 812847f378f228b944d9d3decb797995ce9ec64d Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Thu, 29 Dec 2022 17:24:58 +0100 Subject: [PATCH] fix: use wss --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5411cf8..9720c7c 100644 --- a/index.js +++ b/index.js @@ -111,7 +111,7 @@ document.addEventListener('alpine:init', () => { }, connect() { - const url = 'ws://broker.emqx.io:8083/mqtt' + const url = 'wss://broker.emqx.io:8084/mqtt' const options = { // Clean session