 	message += "Jolly good config!\n";
 	cfg_save_sync(nd);
 	server->send(200, "text/plain", message);
-	/* TODO reboot on save success */
+	message = String();
 	log_dbg("out ok\n\r");
 	reboot(nd);
 	return;
 err_handle_save:
 	message += "Bad request\n";
 	server->send(400, "text/plain", message);
+	message = String();
 	log_dbg("out bad\n\r");
 	return;
 }

		message += millis();
		message += " ms";
		server->send(200, "text/plain", message);
	} else {
		if (!handleFileRead("/index.html"))
			server->send(404, "text/plain", "FileNotFound");

			server->send(204, "text/plain", "No WLAN found");
			log_dbg("No WLAN found\r\n");
		}
	});
	server->on("/ip", HTTP_GET, []() {
		String ipstr = String();
		if((WiFi.getMode() & WIFI_STA))
			ipstr = WiFi.localIP().toString();
		else
			ipstr = WiFi.softAPIP().toString();
		server->send(200, "text/plain", ipstr);
		log_dbg("");
		LOG_SERIAL.println(ipstr);
		ipstr = String();
	});

	server->on("/", handleRoot);
