mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 07:33:21 +00:00
Remove debugging log.Printf()
This commit is contained in:
parent
c00e8f6686
commit
ced5fd1a66
1 changed files with 0 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
"net/http"
|
||||
"strings"
|
||||
)
|
||||
|
@ -115,8 +114,6 @@ func (router *Router) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
uri := r.RequestURI
|
||||
path := strings.Split(uri, "/")
|
||||
|
||||
log.Printf("%s %s", method, uri)
|
||||
|
||||
ROUTE:
|
||||
for _, route := range router.routes[method] {
|
||||
if len(route.path) != len(path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue