mirror of
https://github.com/swissmakers/fail2ban-ui.git
synced 2026-04-11 13:47:05 +02:00
Implement basic ban-API call back to Go-application for handling
This commit is contained in:
@@ -46,5 +46,8 @@ func RegisterRoutes(r *gin.Engine) {
|
||||
|
||||
// Reload endpoint
|
||||
api.POST("/fail2ban/reload", ReloadFail2banHandler)
|
||||
|
||||
// Handle Fail2Ban notifications
|
||||
api.POST("/ban", BanNotificationHandler)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user