     bool canHandle(AsyncWebServerRequest *request){
       if(request->method() == HTTP_GET && request->url() == "/edit" && (SPIFFS.exists("/edit.htm") || SPIFFS.exists("/edit.htm.gz")))
         return true;
-      else if(request->method() == HTTP_GET && request->url() == "/list")
+      if(request->method() == HTTP_GET && request->url() == "/list")
         return true;
-      else if(request->method() == HTTP_GET && (request->url().endsWith("/") || SPIFFS.exists(request->url()) || (!request->hasParam("download") && SPIFFS.exists(request->url()+".gz"))))
+      if(request->method() == HTTP_GET && (request->url().endsWith("/") || SPIFFS.exists(request->url()) || (!request->hasParam("download") && SPIFFS.exists(request->url()+".gz"))))
         return true;
-      else if(request->method() == HTTP_POST && request->url() == "/edit")
+      if(request->method() == HTTP_POST && request->url() == "/edit")
         return true;
-      else if(request->method() == HTTP_DELETE && request->url() == "/edit")
+      if(request->method() == HTTP_DELETE && request->url() == "/edit")
         return true;
-      else if(request->method() == HTTP_PUT && request->url() == "/edit")
+      if(request->method() == HTTP_PUT && request->url() == "/edit")
         return true;
       return false;
     }

  server.begin();
}

void loop(){
  ArduinoOTA.handle();
}


        request->_tempFile = SPIFFS.open(filename, "w");
      }
      if(_uploadAuthenticated && request->_tempFile && len){
        request->_tempFile.write(data,len);
      }
      if(_uploadAuthenticated && final)
        if(request->_tempFile) request->_tempFile.close();
