ws -> wss

This commit is contained in:
Kizarm 2024-06-22 18:23:17 +02:00
parent a2b6d72e87
commit f261dfe6f0

View file

@ -31,7 +31,7 @@
const ofColor = '#ff0000'; const ofColor = '#ff0000';
const ConnBtn = document.getElementById('ConnButton'); const ConnBtn = document.getElementById('ConnButton');
const TextOut = document.getElementById('output'); const TextOut = document.getElementById('output');
const url = 'ws://broker.emqx.io:8083/mqtt' const url = 'wss://broker.emqx.io:8084/mqtt'
// Create an MQTT client instance // Create an MQTT client instance
const options = { const options = {
// Clean session // Clean session