log access

master
bel 2023-03-27 21:21:03 -06:00
parent 60d391b7a4
commit 09d9911293
1 changed files with 1 additions and 0 deletions

View File

@ -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 {