From 4480db86b7972e51866e10b39099223f4016d5ed Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sun, 13 Aug 2023 19:01:48 +0800 Subject: [PATCH] feat: add the final `fallback` rule --- config/preset/yazi.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/preset/yazi.toml b/config/preset/yazi.toml index 55ebca59..e3a4aa77 100644 --- a/config/preset/yazi.toml +++ b/config/preset/yazi.toml @@ -40,7 +40,6 @@ fallback = [ [open] rules = [ { name = "*/", use = "folder" }, - { name = "*.html", use = "fallback" }, { mime = "text/*", use = "text" }, { mime = "image/*", use = "image" }, @@ -56,6 +55,8 @@ rules = [ { mime = "application/x-tar", use = "archive" }, { mime = "application/zip", use = "archive" }, { mime = "application/x-7z-compressed", use = "archive" }, + + { mime = "*", use = "fallback" }, ] [log]