Skip to content

Commit

Permalink
add new mqtt broker
Browse files Browse the repository at this point in the history
  • Loading branch information
wwj718 committed Jan 14, 2024
1 parent a0ab784 commit ca2d805
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/mqttExtension.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ SnapExtensions.primitives.set(
wsbroker = wsbroker + ':8084/mqtt'
} else if (wsbroker == 'ws://broker.emqx.io') {
wsbroker = wsbroker + ':8083/mqtt'
} else if (wsbroker == 'wss://mqtt.aimaker.space') {
wsbroker = wsbroker + ':8084/mqtt'
} else if (wsbroker == 'ws://mqtt.aimaker.space') {
wsbroker = wsbroker + ':8083/mqtt'
} else if (broker == 'mqtt.eclipseprojects.io') {
wsbroker = wsbroker + '/mqtt'
} else if (wsbroker == 'wss://test.mosquitto.org') {
Expand Down

0 comments on commit ca2d805

Please sign in to comment.