From 3a5264b783bfd22129a9e3f0c284b99fe1e83bc6 Mon Sep 17 00:00:00 2001 From: dami Date: Thu, 3 Apr 2025 00:22:46 +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 c42c81f6b..9b2d577fe 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'])){ + if (inArray(ext,['html','htm','php','txt','md','js','css','scss','json','c','h','pl','py','java','log','conf','sh','json','ini', 'yaml'])){ onlineEditFile(0, path); }