feat: implement local dev packet capture functionality with admin endpoints and configurable limits for debugging.

This commit is contained in:
CJACK
2026-02-20 03:46:15 +08:00
parent dec9d03fc5
commit 541816f2ab
8 changed files with 449 additions and 0 deletions

View File

@@ -36,5 +36,7 @@ func RegisterRoutes(r chi.Router, h *Handler) {
pr.Post("/vercel/sync", h.syncVercel)
pr.Get("/vercel/status", h.vercelStatus)
pr.Get("/export", h.exportConfig)
pr.Get("/dev/captures", h.getDevCaptures)
pr.Delete("/dev/captures", h.clearDevCaptures)
})
}