rsnext/examples/with-mqtt-js/.env.local.example
david 9d2962cfab
fix with-mqtt-js example. (#23636)
## Documentation / Examples

- [x] Make sure the linting passes

***

Related to #23607

We should use `NEXT_PUBLIC_`  as [stated here](https://nextjs.org/docs/basic-features/environment-variables) to expose environment variables to the browser.

The code was already using the correct variables name.
2021-04-02 16:33:30 +00:00

4 lines
No EOL
180 B
Text

NEXT_PUBLIC_MQTT_URI="wss://test.mosquitto.org:8081/mqtt"
NEXT_PUBLIC_MQTT_CLIENTID="a_client_id"
NEXT_PUBLIC_MQTT_USERNAME="username"
NEXT_PUBLIC_MQTT_PASSWORD="a_secure_password"