diff --git a/src/config.rs b/src/config.rs index 1664fa6..e330b9f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -51,8 +51,10 @@ pub struct PasteConfig { /// Default file extension. pub default_extension: String, /// Media type override options. + #[serde(default)] pub mime_override: Vec, /// Media type blacklist. + #[serde(default)] pub mime_blacklist: Vec, /// Allow duplicate uploads pub duplicate_files: Option,