fix: enhance LAPI readiness checks and update related UI feedback

This commit is contained in:
GitHub Actions
2025-12-14 17:31:06 +00:00
parent c43976f84a
commit 0bba5ad05f
24 changed files with 2841 additions and 82 deletions

View File

@@ -9,7 +9,7 @@ export interface CrowdSecDecision {
source: string
}
export async function startCrowdsec() {
export async function startCrowdsec(): Promise<{ status: string; pid: number; lapi_ready?: boolean }> {
const resp = await client.post('/admin/crowdsec/start')
return resp.data
}