diff --git a/app/Http/Controllers/IndexController.php b/app/Http/Controllers/IndexController.php index 5acafbe51..a9dddb54b 100755 --- a/app/Http/Controllers/IndexController.php +++ b/app/Http/Controllers/IndexController.php @@ -182,7 +182,7 @@ class IndexController extends InvokeController $lists = Base::readDir($dirPath); $files = []; foreach ($lists as $file) { - if (str_ends_with($file, '.yml')) { + if (str_ends_with($file, '.yml') || str_ends_with($file, '.yaml')) { continue; } $fileName = Base::leftDelete($file, $dirPath);