1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-27 21:16:50 +03:00

Add more file types handling

Add correct handling for *.json *.h *.html and *.ico
This commit is contained in:
gmag11 2016-03-14 14:00:57 +01:00
parent 652703ef41
commit 18d984a9aa

View File

@ -451,8 +451,11 @@
switch(ext){
case "txt":
case "htm":
case "html":
case "js":
case "json":
case "c":
case "h":
case "cpp":
case "css":
case "xml":
@ -469,6 +472,7 @@
case "png":
case "jpg":
case "gif":
case "ico":
return true;
}
}