From ab5e153a4ea989692a45ed62821d5d7f0f18232b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sun, 14 May 2023 13:38:34 +0300 Subject: [PATCH] style(config): format the default config --- config.toml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/config.toml b/config.toml index ac7be17..a2a9064 100644 --- a/config.toml +++ b/config.toml @@ -36,18 +36,18 @@ random_url = { enabled = true, type = "petname", words = 2, separator = "-" } #random_url = { enabled = true, type = "alphanumeric", length = 8 } default_extension = "txt" mime_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)$" }, + { 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)$" }, ] mime_blacklist = [ - "application/x-dosexec", - "application/java-archive", - "application/java-vm", + "application/x-dosexec", + "application/java-archive", + "application/java-vm", ] duplicate_files = true # default_expiry = "1h"