From c9019b70c1f1828b197a4ae2595b87592cb256d9 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Sat, 9 May 2020 14:32:24 -0700 Subject: ip changes and remove some debug --- api/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/routes.go') diff --git a/api/routes.go b/api/routes.go index 655d18b..6f9c17b 100644 --- a/api/routes.go +++ b/api/routes.go @@ -21,7 +21,7 @@ func insertFunc(w http.ResponseWriter, r *http.Request) { // get ip ip, _ := getIP(r) - log.Infof("got content `%s` and ip %s", content, ip) + log.Infof("got content '%s' and ip '%s'", content, ip) // insert content err := db.New(ip, content) -- cgit v1.2.3