Explain gateway stopped states with Web UI diagnostics (#663)

* feat: add gateway diagnostics to Web UI status

* fix: improve gateway diagnostics mobile layout
This commit is contained in:
luSkyl
2026-05-16 21:24:48 +08:00
committed by GitHub
parent 840cb6cd9f
commit 8571a7d0ac
4 changed files with 157 additions and 2 deletions
@@ -7,6 +7,16 @@ export interface GatewayStatus {
url: string
running: boolean
pid?: number
diagnostics?: {
pid_path: string
config_path: string
pid_file_exists: boolean
config_exists: boolean
health_url: string
health_checked_at: string
health_ok?: boolean
reason: string
}
}
export async function fetchGateways(): Promise<GatewayStatus[]> {