Skip to content

Commit

Permalink
docs: add protocol information in demo broker url (#1805)
Browse files Browse the repository at this point in the history
  • Loading branch information
3DRX authored Feb 29, 2024
1 parent d6c19ac commit 8334aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ If you do not want to install a separate broker, you can try using the

```js
const mqtt = require("mqtt") // require mqtt
const client = mqtt.connect("test.mosquitto.org") // create a client
const client = mqtt.connect("mqtt://test.mosquitto.org") // create a client
```

### ES6 Modules (Import)
Expand Down

0 comments on commit 8334aae

Please sign in to comment.