Skip to content

Commit 9da4b98

Browse files
committed
come onn
1 parent 55b3f31 commit 9da4b98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

litepipe.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func setDefaultsAndValidateConfig() {
6666
func start() {
6767
http.HandleFunc("/", HandleWebhook)
6868

69-
fmt.Println("\n\033[30;46m LitePipe \033[0m version 0.1.4")
69+
fmt.Println("\n\033[30;46m LitePipe \033[0m version 0.1.7")
7070
fmt.Printf("PID: %d\n", os.Getpid())
7171
fmt.Printf("Listening on port %d\n\n", config.Port)
7272

@@ -97,6 +97,8 @@ func HandleWebhook(w http.ResponseWriter, r *http.Request) {
9797
return
9898
}
9999

100+
fmt.Println(body)
101+
100102
signature := r.Header.Get("X-Hub-Signature")
101103
if !verifyWebhookSignature(signature, body) {
102104
fmt.Println("Invalid Webhook")

0 commit comments

Comments
 (0)