router and home page

This commit is contained in:
2026-04-17 11:39:35 +02:00
parent ad29538422
commit 12ebb3f8d9
10 changed files with 233 additions and 37 deletions

View File

@ -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,
}
}
}