log access
parent
60d391b7a4
commit
09d9911293
|
|
@ -30,6 +30,7 @@ func (v01 *V01) _listen() {
|
|||
s := &http.Server{
|
||||
Addr: v01.cfg.Feedback.Addr,
|
||||
Handler: http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
log.Printf("%s", r.URL.String())
|
||||
v01.cfg.lock.Lock()
|
||||
defer v01.cfg.lock.Unlock()
|
||||
if r.Method == http.MethodGet {
|
||||
|
|
|
|||
Loading…
Reference in New Issue