updated ipbl
This commit is contained in:
parent
26363d33bb
commit
044d328658
@ -62,8 +62,8 @@ func RegisterRoutes(e *echo.Echo, ctx *context.Context, cfg *config.Config) {
|
||||
numinsert, _, _ := models.InsertIPBulk(cfg, &ips)
|
||||
if numinsert > 0 {
|
||||
msg = fmt.Sprintf("Inserted %d IP", numinsert)
|
||||
log.Println(msg)
|
||||
}
|
||||
log.Println(msg)
|
||||
return c.JSON(http.StatusOK, msg)
|
||||
})
|
||||
e.GET("/ips/whitelist", func(c echo.Context) (err error) {
|
||||
|
Loading…
Reference in New Issue
Block a user