mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
new action resetMQTT, called from MQTT Settings page
This commit is contained in:
@@ -5106,6 +5106,10 @@ router
|
||||
// upload URL
|
||||
console.log('upload File from URL', content.param);
|
||||
return status(200);
|
||||
} else if (action === 'resetMQTT') {
|
||||
// reset MQTT
|
||||
console.log('resetting MQTT...');
|
||||
return status(200);
|
||||
}
|
||||
}
|
||||
return status(404); // cmd not found
|
||||
|
||||
Reference in New Issue
Block a user