From 70a0575d0860992bcccbb9799e51ef7d05cc0a3e Mon Sep 17 00:00:00 2001 From: bain Date: Sun, 2 Jun 2024 14:44:43 +0200 Subject: [PATCH] remove max file size for embedding static files Fixed in crate --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0170c29..c4cbb69 100644 --- a/src/main.rs +++ b/src/main.rs @@ -573,7 +573,7 @@ async fn main() -> Result<()> { app.at("/new-account").get(create_account_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);