new action resetMQTT, called from MQTT Settings page

This commit is contained in:
proddy
2025-11-17 12:26:14 +01:00
parent 88afd3f453
commit 0a75dd7e3c
4 changed files with 49 additions and 11 deletions

View File

@@ -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