diff --git a/server.go b/server.go index efd1295..4d1eb65 100644 --- a/server.go +++ b/server.go @@ -16,6 +16,10 @@ import ( // func apiV1Main(w http.ResponseWriter, r *http.Request) { logRequestDebug(httputil.DumpRequest(r, true)) + if checkSignature(r) == false { + fmt.Fprintf(w, "") //empty string + return + } switch r.Method { case "POST":