fix: enhance LAPI readiness checks and update related UI feedback
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user