Unverified Commit 9d2962cf authored by david's avatar david Committed by GitHub

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.
parent 6b2a2d9b
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"
\ No newline at end of file
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"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment