From ebbbccd6a33a3990fbc5bd3b1be0be9781f777ab Mon Sep 17 00:00:00 2001 From: lia-07 <107384739+lia-07@users.noreply.github.com> Date: Mon, 23 Oct 2023 17:23:42 +1300 Subject: [PATCH] nothing was wrong --- litepipe.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litepipe.go b/litepipe.go index dfb364d..9d2ca87 100644 --- a/litepipe.go +++ b/litepipe.go @@ -66,7 +66,7 @@ func setDefaultsAndValidateConfig() { func start() { http.HandleFunc("/", HandleWebhook) - fmt.Println("\n\033[30;46m LitePipe \033[0m version 0.1.7") + fmt.Println("\n\033[30;46m LitePipe \033[0m version 0.1.8") fmt.Printf("PID: %d\n", os.Getpid()) fmt.Printf("Listening on port %d\n\n", config.Port) @@ -97,8 +97,6 @@ func HandleWebhook(w http.ResponseWriter, r *http.Request) { return } - fmt.Println(body) - signature := r.Header.Get("X-Hub-Signature") if !verifyWebhookSignature(signature, body) { fmt.Println("Invalid Webhook")