mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
Remove debugging log.Printf()
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user