mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-19 23:01:36 +03:00
feat: add the final fallback
rule
This commit is contained in:
parent
aa441cd7f0
commit
4480db86b7
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user