diff --git a/crates/http/src/config.rs b/crates/http/src/config.rs index db36793..5247a45 100644 --- a/crates/http/src/config.rs +++ b/crates/http/src/config.rs @@ -22,10 +22,6 @@ pub struct Config { #[arg(long, default_value_t = 20)] pub list_limit: usize, - /// Default capacity (estimated torrents in the `public` directory) - #[arg(long, default_value_t = 1000)] - pub capacity: usize, - /// Bind server on given host #[arg(long, default_value_t = IpAddr::V4(Ipv4Addr::LOCALHOST))] pub host: IpAddr, diff --git a/crates/http/templates/index.html.tera b/crates/http/templates/index.html.tera index 8c36d2f..d695261 100644 --- a/crates/http/templates/index.html.tera +++ b/crates/http/templates/index.html.tera @@ -18,7 +18,7 @@ {% if back %}Back{% endif %} {% if total %} - Page {{ page }} / {{ pages }} ({{ total }} torrent{{ total | pluralize(plural="s") }} total) + Page {{ page }} / {{ pages }} ({{ total }} total) {% endif %} {% endblock content %} \ No newline at end of file