rsnext/examples/with-mqtt-js/.env.local.example
Sebastian König 5fc8d48732
Added with-mqtt-js example (#17939)
* Added with-mqtt-js example

* Fixed eslint/prettier errors

* Update README.md

* Updated with-mqtt-js to latest next/react versions, WIP: Refactoring useMqtt()

* A2PC

* Working example, unrefactored

* A2PC

* Ran prettier

* Used NEXT_PUBLIC_ prefix instead of keys as props

* Updated readme and added .env.local.example

Co-authored-by: Sebastian König <sebastian_koenig@cotyinc.com>
Co-authored-by: Luis Alvarez D <luis@vercel.com>
2021-01-06 12:06:56 -05:00

4 lines
No EOL
159 B
Text

NEXT_MQTT_URI="wss://test.mosquitto.org:8081/mqtt"
NEXT_MQTT_CLIENTID="a_client_id"
NEXT_MQTT_USERNAME="username"
CONTENTFUL_PREVIEW_SECRET="a_secure_password"