module(rustypaste): Delete override_mime settings
This commit is contained in:
parent
edfca14621
commit
205e20ee1c
1 changed files with 0 additions and 30 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue