Remove request logging from microsub server
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ed90ebbdd3
commit
dbfe957f63
|
@ -50,9 +50,9 @@ func NewMicrosubHandler(backend microsub.Microsub) (http.Handler, *Broker) {
|
|||
func (h *microsubHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
r.ParseForm()
|
||||
|
||||
log.Printf("Incoming request: %s %s\n", r.Method, r.URL)
|
||||
log.Println(r.URL.Query())
|
||||
log.Println(r.PostForm)
|
||||
// log.Printf("Incoming request: %s %s\n", r.Method, r.URL)
|
||||
// log.Println(r.URL.Query())
|
||||
// log.Println(r.PostForm)
|
||||
|
||||
if r.Method == http.MethodOptions {
|
||||
w.Header().Add("Access-Control-Allow-Origin", "*")
|
||||
|
|
Loading…
Reference in New Issue
Block a user