mirror of
https://github.com/shiroyashik/sculptor.git
synced 2025-12-06 13:01:12 +03:00
Avatar upload restriction has been finalized! Update your Config.toml!!!
This commit is contained in:
parent
0103c31d69
commit
7196c719e2
5 changed files with 18 additions and 7 deletions
|
|
@ -143,4 +143,8 @@ pub fn get_log_file(folder: &str) -> String {
|
|||
}
|
||||
index += 1;
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_limit_as_bytes(limit: usize) -> usize {
|
||||
1024 + limit * 1024 // Adding additional 1 KB just for fun :)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue