Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
httpd: Increase MAX_BLOB_SIZE to 10 MB
Sebastian Martinez committed 1 year ago
commit 061aaa18a12ab240eb6b4a575700dda396329f5c
parent 98ad210b8d5a5ed1a2c61300ab7fe08af51c8640
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"),