Skip to content

Commit

Permalink
nothing was wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
lia-07 committed Oct 23, 2023
1 parent 9da4b98 commit ebbbccd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions litepipe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit ebbbccd

Please sign in to comment.