module(rustypaste): Delete override_mime settings

This commit is contained in:
ulic-youthlic 2025-06-10 19:47:02 +08:00
parent edfca14621
commit 205e20ee1c
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -72,36 +72,6 @@ in {
"application/java-archive" "application/java-archive"
"application/java-vm" "application/java-vm"
]; ];
mine_override = [
{
mime = "image/jpeg";
regex = "^.*\\.jpg$";
}
{
mime = "image/png";
regex = "^.*\\.png$";
}
{
mime = "image/svg+xml";
regex = "^.*\\.svg$";
}
{
mime = "video/webm";
regex = "^.*\\.webm$";
}
{
mime = "video/x-matroska";
regex = "^.*\\.mkv$";
}
{
mime = "application/octet-stream";
regex = "^.*\\.bin$";
}
{
mime = "text/plain";
regex = "^.*\\.(log|txt|diff|sh|rs|toml|py|json|yaml|yml|ts|js|go|c|C|c++|cpp|cxx|patch|toml|bash|fish)$";
}
];
}; };
landing_page = { landing_page = {
content_type = "text/plain; charset=utf-8"; content_type = "text/plain; charset=utf-8";