File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,6 @@ func (s *Server) setupRoutes() {
276276 protected .GET ("/security/events" , s .listSecurityEvents )
277277 protected .GET ("/security/events/:id" , s .getSecurityEvent )
278278 protected .POST ("/security/cleanup" , s .cleanupSecurityEvents )
279- protected .GET ("/security/blocked-ips" , s .listBlockedIPs )
280279 protected .POST ("/security/blocked-ips" , s .blockIP )
281280 protected .DELETE ("/security/blocked-ips/:ip" , s .unblockIP )
282281 protected .GET ("/security/ips/:ip/events" , s .getEventsByIP )
@@ -302,6 +301,7 @@ func (s *Server) setupRoutes() {
302301 // Ingest endpoints (no auth - called by nginx Lua)
303302 api .POST ("/security/events/ingest" , s .ingestSecurityEvent )
304303 api .POST ("/traffic/ingest" , s .ingestTrafficLog )
304+ api .GET ("/security/blocked-ips" , s .listBlockedIPs )
305305 }
306306}
307307
You can’t perform that action at this time.
0 commit comments