mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-25 09:46:37 +03:00
feat: add the final fallback
rule
This commit is contained in:
parent
aa441cd7f0
commit
4480db86b7
@ -40,7 +40,6 @@ fallback = [
|
|||||||
[open]
|
[open]
|
||||||
rules = [
|
rules = [
|
||||||
{ name = "*/", use = "folder" },
|
{ name = "*/", use = "folder" },
|
||||||
{ name = "*.html", use = "fallback" },
|
|
||||||
|
|
||||||
{ mime = "text/*", use = "text" },
|
{ mime = "text/*", use = "text" },
|
||||||
{ mime = "image/*", use = "image" },
|
{ mime = "image/*", use = "image" },
|
||||||
@ -56,6 +55,8 @@ rules = [
|
|||||||
{ mime = "application/x-tar", use = "archive" },
|
{ mime = "application/x-tar", use = "archive" },
|
||||||
{ mime = "application/zip", use = "archive" },
|
{ mime = "application/zip", use = "archive" },
|
||||||
{ mime = "application/x-7z-compressed", use = "archive" },
|
{ mime = "application/x-7z-compressed", use = "archive" },
|
||||||
|
|
||||||
|
{ mime = "*", use = "fallback" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
|
Loading…
Reference in New Issue
Block a user