Refactor to use environment variables for MQTT credentials

pull/4685/head
rasheed 1 month ago
parent 7cfca5d1eb
commit 4767495a36

@ -1,7 +1,7 @@
const { log } = require("../src/util"); const { log } = require("../src/util");
const mqttUsername = "louis1"; const mqttUsername = process.env.MQTT_USERNAME;
const mqttPassword = "!@#$LLam"; const mqttPassword = process.env.MQTT_PASSWORD;
class SimpleMqttServer { class SimpleMqttServer {
aedes = require("aedes")(); aedes = require("aedes")();

Loading…
Cancel
Save