router and home page
This commit is contained in:
@ -22,13 +22,13 @@ impl ServerConfig {
|
||||
}
|
||||
|
||||
pub struct ClientConfig {
|
||||
pub upload_max_size: usize,
|
||||
pub upload_max_size: u64,
|
||||
}
|
||||
|
||||
impl ClientConfig {
|
||||
pub fn load() -> Self {
|
||||
Self {
|
||||
upload_max_size: 1024 * 1024 * 1024 * 1, //1GB for testing
|
||||
upload_max_size: 1024 * 1024 * 1024 * 50,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user