mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-27 12:30:31 +00:00
parent
3d82265b85
commit
4d4f2ba6ed
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ fn get_rocket_config() -> Result<RocketConfig, RocketError> {
|
|||
.unwrap_or(7878);
|
||||
let secret_key = var("ROCKET_SECRET_KEY").map_err(|_| RocketError::InvalidSecretKey)?;
|
||||
let form_size = var("FORM_SIZE")
|
||||
.unwrap_or_else(|_| "32".to_owned())
|
||||
.unwrap_or_else(|_| "128".to_owned())
|
||||
.parse::<u64>()
|
||||
.unwrap();
|
||||
let activity_size = var("ACTIVITY_SIZE")
|
||||
|
|
Loading…
Reference in a new issue