Browse Source

fix: do not log headers

ayn2op 1 năm trước cách đây
mục cha
commit
c0509bf08c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      cmd/state.go

+ 1 - 1
cmd/state.go

@@ -49,7 +49,7 @@ func openState(token string) error {
 func (s *State) onRequest(r httpdriver.Request) error {
 	req, ok := r.(*httpdriver.DefaultRequest)
 	if ok {
-		slog.Debug("new HTTP request", "method", req.Method, "url", req.URL, "headers", req.Header)
+		slog.Debug("new HTTP request", "method", req.Method, "url", req.URL)
 	}
 
 	return nil