When you press the restart button, the serial console shows "Server: page not found".
The index.h has:
// Restart ESP const restart = async () => { try { const res = await fetch(window.location.href + 'restart'); blocker.classList.add('hidden'); location.reload();
but I don't see a server.on("/restart" on ServerHander.cpp.
When you press the restart button, the serial console shows "Server: page not found". The index.h has:
// Restart ESP const restart = async () => { try { const res = await fetch(window.location.href + 'restart'); blocker.classList.add('hidden'); location.reload();
but I don't see a server.on("/restart" on ServerHander.cpp.