mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
add comments
This commit is contained in:
@@ -2113,8 +2113,9 @@ rest_server.get(FEATURES_ENDPOINT, (req, res) => {
|
||||
rest_server.get(VERIFY_AUTHORIZATION_ENDPOINT, (req, res) => {
|
||||
res.json(verify_authentication);
|
||||
});
|
||||
rest_server.post(RESTART_ENDPOINT, (req, res) => {
|
||||
rest_server.post(RESTART_ENDPOINT, async (req, res) => {
|
||||
console.log('command: restart');
|
||||
// await delay(1000);
|
||||
res.sendStatus(200);
|
||||
});
|
||||
rest_server.post(FACTORY_RESET_ENDPOINT, (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user