mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-11-28 10:41:50 +08:00
Merge pull request #193 from RuoJi6/RuoJi6/fix/issue-186-intercept-polling-count
fix(intercept): avoid full-history polling and full-table counts (#186)
This commit is contained in:
commit
10be95ac44
14 files changed
+676
-159
No files matched your search
@@ -1152,6 +1152,7 @@ func (s *Server) Handler() http.Handler {
|
||||
mux.HandleFunc("POST /api/asset-intercept/rules/{id}/toggle", s.assetInterceptToggleRule)
|
||||
|
||||
mux.HandleFunc("GET /api/intercept/pending", s.interceptListPending)
|
||||
mux.HandleFunc("GET /api/intercept/pending/summary", s.interceptPendingSummary)
|
||||
mux.HandleFunc("GET /api/intercept/pending/{id}", s.interceptGetOne)
|
||||
mux.HandleFunc("POST /api/intercept/pending/{id}/decide", s.interceptDecide)
|
||||
mux.HandleFunc("GET /api/intercept/history", s.interceptHistory)
|
||||
|
||||
Reference in new issue
Block a user