mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Bump up maxed received body size to 100 MB
This commit is contained in:
parent
7bb148c0e7
commit
50b4157c11
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ use rouille;
|
|||
use serde;
|
||||
use serde_json;
|
||||
|
||||
static MAX_BODY_SIZE: usize = 25 * 1024 * 1024; // 25 MiB
|
||||
static MAX_BODY_SIZE: usize = 100 * 1024 * 1024; // 100 MiB
|
||||
|
||||
pub fn json_response<T: serde::Serialize>(value: T) -> rouille::Response {
|
||||
let data = serde_json::to_string(&value).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue