feat(web): add 10 second timeout layer

This commit is contained in:
2025-09-14 01:47:04 -05:00
parent 1b7d2d2824
commit 3dca896a35
3 changed files with 7 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "banner"
version = "0.3.3"
version = "0.3.4"
edition = "2024"
default-run = "banner"
@@ -44,7 +44,7 @@ governor = "0.10.1"
once_cell = "1.21.3"
serde_path_to_error = "0.1.17"
num-format = "0.4.4"
tower-http = { version = "0.6.0", features = ["fs", "cors", "trace"] }
tower-http = { version = "0.6.0", features = ["fs", "cors", "trace", "timeout"] }
rust-embed = { version = "8.0", features = ["debug-embed", "include-exclude"] }
mime_guess = "2.0"
clap = { version = "4.5", features = ["derive"] }