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:
commit
00429e833d
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user