From 8026f03b111d65ffbac7f11fc056abef430a77f8 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Sat, 9 May 2020 14:48:51 -0700 Subject: add dockerfile and makefile --- api/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') diff --git a/api/routes.go b/api/routes.go index 6f9c17b..103de04 100644 --- a/api/routes.go +++ b/api/routes.go @@ -19,7 +19,7 @@ func insertFunc(w http.ResponseWriter, r *http.Request) { content := r.FormValue("content") // get ip - ip, _ := getIP(r) + ip := getIP(r) log.Infof("got content '%s' and ip '%s'", content, ip) -- cgit v1.2.3