return function (info)
if (not authenticated()) then
return
end
send_response("
Rebooting in 1 second. Will be back in 7 seconds. The Dillo browser actually caches this page instead of loading it from the FF-ESP32. In this case you have to manually reload it in order to reboot the device. Check the uptime value on the index page.
")
reboottimer = tmr.create()
reboottimer:register(1000, tmr.ALARM_SINGLE, function()
node.restart()
end)
reboottimer:start()
return
end