From a9a8ee5522623f02e90beef829c283c2b857fb82 Mon Sep 17 00:00:00 2001 From: Kilerd Chan Date: Wed, 24 Oct 2018 22:46:33 +0800 Subject: [PATCH] fixed: set form size limited as 512kb --- Rocket.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rocket.toml b/Rocket.toml index 3677c0d..f7c2236 100644 --- a/Rocket.toml +++ b/Rocket.toml @@ -7,10 +7,10 @@ port = 8000 workers = 1 log = "normal" secret_key = "JR7bWcbwRfF/+Kc3jKfgxPiuLFyUxMRgTyJlcruItA0=" -limits = { forms = 32768 } +limits = { forms = 524288 } [production] address = "0.0.0.0" log = "critical" port = 8000 -limits = { forms = 32768 } \ No newline at end of file +limits = { forms = 524288 } \ No newline at end of file