mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 15:43: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
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@ -115,8 +114,6 @@ func (router *Router) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
uri := r.RequestURI
|
uri := r.RequestURI
|
||||||
path := strings.Split(uri, "/")
|
path := strings.Split(uri, "/")
|
||||||
|
|
||||||
log.Printf("%s %s", method, uri)
|
|
||||||
|
|
||||||
ROUTE:
|
ROUTE:
|
||||||
for _, route := range router.routes[method] {
|
for _, route := range router.routes[method] {
|
||||||
if len(route.path) != len(path) {
|
if len(route.path) != len(path) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue