From e4382bbbc1784533dbfbe670275bef7b65bc5026 Mon Sep 17 00:00:00 2001 From: Thibaud Guillaume-Gentil Date: Fri, 22 Nov 2024 13:30:59 +0100 Subject: [PATCH] Add /up endpoint --- app.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.rb b/app.rb index f427a6d..139316d 100644 --- a/app.rb +++ b/app.rb @@ -12,6 +12,10 @@ class App < Sinatra::Base @request_body = request.body.read end + get '/up' do + status 204 + end + post '/webhook' do verify_signature! payload = parse_payload