Display BanGUI version in dashboard and server config UI
This commit is contained in:
@@ -661,6 +661,8 @@ export interface ServiceStatusResponse {
|
||||
online: boolean;
|
||||
/** fail2ban version string, or null when offline. */
|
||||
version: string | null;
|
||||
/** BanGUI application version (from the API). */
|
||||
bangui_version: string;
|
||||
/** Number of currently active jails. */
|
||||
jail_count: number;
|
||||
/** Aggregated current ban count across all jails. */
|
||||
|
||||
@@ -21,4 +21,6 @@ export interface ServerStatus {
|
||||
/** Response shape for ``GET /api/dashboard/status``. */
|
||||
export interface ServerStatusResponse {
|
||||
status: ServerStatus;
|
||||
/** BanGUI application version (from the API). */
|
||||
bangui_version: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user