 }
 
 /***
- * Reads a file directly from Flash memory 
+ * Reads a file directly from Flash memory to a String
  */
 String readFromFlash(String path) {
   if(path.endsWith("/")) path += "index.html";

#include "flashfiles.h"

/***
 * Serves a file directly from Flash memory 
 * Files are defined in websites.h, generated using convertWebFiles.sh
 * 
 * CAUTION : Ressources have to be gziped (*.ico, *.js, *.css, etc...)
 */
bool serveFromFlash(String path) {
  if(path.endsWith("/")) path += "index.html";

  server.send(404, "text/plain", message);
}

