| @@ -18,6 +18,7 @@ func apiV1Main(w http.ResponseWriter, r *http.Request) { | |||
| logRequestDebug(httputil.DumpRequest(r, true)) | |||
| if checkSignature(r) == false { | |||
| log.Println("signature of URL incorrect") | |||
| w.WriteHeader(http.StatusUnauthorized) | |||
| fmt.Fprintf(w, "") //empty string | |||
| return | |||
| } | |||