fix: wrong mime type for .rar files

This commit is contained in:
sxyazi
2024-12-05 22:32:03 +08:00
parent 2c42cc59b6
commit a353e0062b

View File

@@ -1,5 +1,7 @@
local FILES = { local FILES = {
[".gitconfig"] = "text/plain", [".gitconfig"] = "text/plain",
[".zshenv"] = "text/plain",
[".zshrc"] = "text/plain",
["cargo.lock"] = "application/json", ["cargo.lock"] = "application/json",
license = "text/plain", license = "text/plain",
} }
@@ -671,7 +673,7 @@ local EXTS = {
r = "text/r", r = "text/r",
ra = "audio/pn-realaudio", ra = "audio/pn-realaudio",
ram = "audio/pn-realaudio", ram = "audio/pn-realaudio",
rar = "application/rar-compressed", rar = "application/rar",
ras = "image/cmu-raster", ras = "image/cmu-raster",
rb = "text/ruby", rb = "text/ruby",
rcprofile = "application/ipunplugged.rcprofile", rcprofile = "application/ipunplugged.rcprofile",