This commit is contained in:
yggverse 2026-01-08 00:24:38 +02:00
parent 5d232f54c9
commit af3a6d0cd6
2 changed files with 1 additions and 5 deletions

View file

@ -22,10 +22,6 @@ pub struct Config {
#[arg(long, default_value_t = 20)] #[arg(long, default_value_t = 20)]
pub list_limit: usize, 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 /// Bind server on given host
#[arg(long, default_value_t = IpAddr::V4(Ipv4Addr::LOCALHOST))] #[arg(long, default_value_t = IpAddr::V4(Ipv4Addr::LOCALHOST))]
pub host: IpAddr, pub host: IpAddr,

View file

@ -18,7 +18,7 @@
{% if back %}<a href="{{ back }}">Back</a>{% endif %} {% if back %}<a href="{{ back }}">Back</a>{% endif %}
{% if total %} {% if total %}
<span> <span>
Page {{ page }} / {{ pages }} ({{ total }} torrent{{ total | pluralize(plural="s") }} total) Page {{ page }} / {{ pages }} ({{ total }} total)
</span> </span>
{% endif %} {% endif %}
{% endblock content %} {% endblock content %}