 			server->send(204, "text/plain", "No WLAN found");
 			log_dbg("No WLAN found\r\n");
 		}
+		scanning = false;
 	});
 	server->on("/ip", HTTP_GET, []() {
 		String ipstr = String();

			LOG_SERIAL.println(".local to get started");
#endif
#ifdef NEURITE_ENABLE_DNSPORTAL
			dnsServer.start(53, "*", apIP);
			log_dbg("DNS server started\n\r");
#endif
			server_config(nd);

		if (SPIFFS.exists(pathWithGz))
			path += ".gz";
		File file = SPIFFS.open(path, "r");
		log_dbg("streaming size: %u\n\r", file.size());
		size_t sent = server->streamFile(file, contentType);
		log_dbg("stream return sent: %u\n\r", sent);
		file.close();
		path = String();
		contentType = String();
