Increase bio max length from 300 to 1000. (#5014)

- Fixes #4972
This commit is contained in:
Dessalines 2024-09-11 11:27:16 -04:00 committed by Felix Ableitner
parent 2eab4fa267
commit 5093491b53

View file

@ -17,7 +17,7 @@ const ALLOWED_POST_URL_SCHEMES: [&str; 3] = ["http", "https", "magnet"];
const BODY_MAX_LENGTH: usize = 10000; const BODY_MAX_LENGTH: usize = 10000;
const POST_BODY_MAX_LENGTH: usize = 50000; const POST_BODY_MAX_LENGTH: usize = 50000;
const BIO_MAX_LENGTH: usize = 300; const BIO_MAX_LENGTH: usize = 1000;
const URL_MAX_LENGTH: usize = 2000; const URL_MAX_LENGTH: usize = 2000;
const ALT_TEXT_MAX_LENGTH: usize = 1500; const ALT_TEXT_MAX_LENGTH: usize = 1500;
const SITE_NAME_MAX_LENGTH: usize = 20; const SITE_NAME_MAX_LENGTH: usize = 20;