diff options
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/api/routes.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/backend/api/routes.go b/backend/api/routes.go index 474fdda..26c932f 100644 --- a/backend/api/routes.go +++ b/backend/api/routes.go @@ -3,15 +3,14 @@ package api import ( "encoding/json" "fmt" - "github.com/jackyzha0/ctrl-v/security" "net/http" "time" + "github.com/jackyzha0/ctrl-v/security" + "github.com/gorilla/mux" "github.com/jackyzha0/ctrl-v/cache" "github.com/jackyzha0/ctrl-v/db" - - log "github.com/sirupsen/logrus" ) func healthCheckFunc(w http.ResponseWriter, r *http.Request) { @@ -33,8 +32,6 @@ func insertFunc(w http.ResponseWriter, r *http.Request) { // get ip ip := getIP(r) - log.Infof("got content '%s' and ip '%s'", content, ip) - // insert content hash, err := db.New(ip, content, expiry, title, password) if err != nil { |