feat: add the final fallback rule

This commit is contained in:
sxyazi 2023-08-13 19:01:48 +08:00
parent aa441cd7f0
commit 4480db86b7
No known key found for this signature in database

View File

@ -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]