From 203abc1ff92a2a174eb385e08734192bae366ccc Mon Sep 17 00:00:00 2001 From: dami Date: Fri, 22 Aug 2025 18:09:19 +0800 Subject: [PATCH] Update files.js --- web/static/app/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/static/app/files.js b/web/static/app/files.js index a4f3d3d66..07983980e 100755 --- a/web/static/app/files.js +++ b/web/static/app/files.js @@ -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); }