1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

Merge pull request #1772 from gmag11/patch-2

Add more file types handling
This commit is contained in:
Ivan Grokhotkov 2016-03-24 00:59:49 +03:00
commit 00429e833d

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;
}
}