style(config): format the default config

This commit is contained in:
Orhun Parmaksız 2023-05-14 13:38:34 +03:00
parent 4a4301ee72
commit ab5e153a4e
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -36,18 +36,18 @@ random_url = { enabled = true, type = "petname", words = 2, separator = "-" }
#random_url = { enabled = true, type = "alphanumeric", length = 8 } #random_url = { enabled = true, type = "alphanumeric", length = 8 }
default_extension = "txt" default_extension = "txt"
mime_override = [ mime_override = [
{ mime = "image/jpeg", regex = "^.*\\.jpg$" }, { mime = "image/jpeg", regex = "^.*\\.jpg$" },
{ mime = "image/png", regex = "^.*\\.png$" }, { mime = "image/png", regex = "^.*\\.png$" },
{ mime = "image/svg+xml", regex = "^.*\\.svg$" }, { mime = "image/svg+xml", regex = "^.*\\.svg$" },
{ mime = "video/webm", regex = "^.*\\.webm$" }, { mime = "video/webm", regex = "^.*\\.webm$" },
{ mime = "video/x-matroska", regex = "^.*\\.mkv$" }, { mime = "video/x-matroska", regex = "^.*\\.mkv$" },
{ mime = "application/octet-stream", regex = "^.*\\.bin$" }, { mime = "application/octet-stream", regex = "^.*\\.bin$" },
{ mime = "text/plain", regex = "^.*\\.(log|txt|diff|sh|rs|toml)$" }, { mime = "text/plain", regex = "^.*\\.(log|txt|diff|sh|rs|toml)$" },
] ]
mime_blacklist = [ mime_blacklist = [
"application/x-dosexec", "application/x-dosexec",
"application/java-archive", "application/java-archive",
"application/java-vm", "application/java-vm",
] ]
duplicate_files = true duplicate_files = true
# default_expiry = "1h" # default_expiry = "1h"