mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update files.js
This commit is contained in:
@@ -285,7 +285,7 @@ function openFilename(obj){
|
||||
var ext = getSuffixName(path);
|
||||
|
||||
// console.log(path,ext);
|
||||
if (inArray(ext,['html','htm','php','txt','md','js','css','scss','json','c','h','pl','py','java','log','conf','sh','json','ini', 'yml','yaml'])){
|
||||
if (inArray(ext,['html','htm','php','lua','rs','py','txt','md','js','css','scss','json','c','h','pl','java','log','conf','sh','json','ini', 'yml','yaml'])){
|
||||
onlineEditFile(0, path);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user