remove max file size for embedding static files

Fixed in crate
This commit is contained in:
bain 2024-06-02 14:44:43 +02:00
parent 9ea6a9c56a
commit 70a0575d08
Signed by: bain
GPG key ID: 31F0F25E3BED0B9B

View file

@ -573,7 +573,7 @@ async fn main() -> Result<()> {
app.at("/new-account").get(create_account_endpoint); app.at("/new-account").get(create_account_endpoint);
app.at("/metrics").get(metrics_endpoint); app.at("/metrics").get(metrics_endpoint);
auto_serve_dir!(app, "/static", "static", 51200); auto_serve_dir!(app, "/static", "static");
println!("Server started at {}", &bind_address); println!("Server started at {}", &bind_address);