ws -> wss
This commit is contained in:
parent
a2b6d72e87
commit
f261dfe6f0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue