Merge pull request #11 from Noneangel/main

minor fix
This commit is contained in:
Swissmakers GmbH
2025-08-24 22:15:48 +02:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

View File

@@ -19,7 +19,6 @@ package fail2ban
import (
"errors"
"fmt"
"os"
"os/exec"
"strings"
"time"

View File

@@ -844,7 +844,7 @@
</div>
<div class="bg-white rounded-lg shadow p-4">
<p class="text-sm text-gray-500">Recent Bans</p>
<p class="text-2xl font-semibold text-gray-800">${data.lastBans.length}</p>
<p class="text-2xl font-semibold text-gray-800">${data.lastBans ? data.lastBans.length : 0}</p>
</div>
</div>
`;
@@ -1501,4 +1501,4 @@
</script>
</body>
</html>
</html>