Skip to content

Commit ec4aa83

Browse files
authored
Update download config schema (#47)
1 parent 8e83040 commit ec4aa83

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/matrix_content_scanner/config.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ def _parse_size(size: Optional[Union[str, float]]) -> Optional[float]:
9292
"properties": {
9393
"base_homeserver_url": {"type": "string"},
9494
"proxy": {"type": "string"},
95-
"allowed_mimetypes": {"type": "object"},
95+
"additional_headers": {
96+
"type": "object",
97+
"additionalProperties": {"type": "string"},
98+
},
9699
},
97100
},
98101
"crypto": {

0 commit comments

Comments
 (0)