1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +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){ switch(ext){
case "txt": case "txt":
case "htm": case "htm":
case "html":
case "js": case "js":
case "json":
case "c": case "c":
case "h":
case "cpp": case "cpp":
case "css": case "css":
case "xml": case "xml":
@ -469,6 +472,7 @@
case "png": case "png":
case "jpg": case "jpg":
case "gif": case "gif":
case "ico":
return true; return true;
} }
} }