Set mqtt-clientId to uptime-kuma_.. instead of mqttjs_.. (#4503)

This commit is contained in:
Frank Elsinga 2024-03-10 15:16:07 +01:00 committed by GitHub
commit ca14c34977
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,7 +81,8 @@ class MqttMonitorType extends MonitorType {
let client = mqtt.connect(mqttUrl, {
username,
password
password,
clientId: "uptime-kuma_" + Math.random().toString(16).substr(2, 8)
});
client.on("connect", () => {