Hello everyone.
Thx for all your hard work
thanks to that I've been able to setup my own ESP-07 with a SD Card.
Now I have just 2 questions to all of you:
1. Is there any chance to put together CaptivePortal with a web server so i can hold my own www on a SD card and set up my own network with DNS redirections?
2. Is there any chance to play MP3 or videos from SD card?
theat is in the code:
if(path.endsWith(".src")) path = path.substring(0, path.lastIndexOf("."));
else if(path.endsWith(".htm")) dataType = "text/html";
else if(path.endsWith(".css")) dataType = "text/css";
else if(path.endsWith(".js")) dataType = "application/javascript";
else if(path.endsWith(".png")) dataType = "image/png";
else if(path.endsWith(".gif")) dataType = "image/gif";
else if(path.endsWith(".jpg")) dataType = "image/jpeg";
else if(path.endsWith(".ico")) dataType = "image/x-icon";
else if(path.endsWith(".xml")) dataType = "text/xml";
else if(path.endsWith(".pdf")) dataType = "application/pdf";
else if(path.endsWith(".zip")) dataType = "application/zip";
Can i add my own file types?