Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
httpd: Increase MAX_BLOB_SIZE to 10 MB
Sebastian Martinez committed 1 year ago
commit 061aaa18a12ab240eb6b4a575700dda396329f5c
parent 98ad210
1 file changed +1 -1
modified radicle-httpd/src/raw.rs
@@ -17,7 +17,7 @@ use crate::api::query::RawQuery;
use crate::axum_extra::Path;
use crate::error::RawError as Error;

-
const MAX_BLOB_SIZE: usize = 4_194_304;
+
const MAX_BLOB_SIZE: usize = 10_485_760;

static MIMES: &[(&str, &str)] = &[
    ("3gp", "video/3gpp"),