Skip to content

Commit

Permalink
Add /up endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudgg committed Nov 22, 2024
1 parent be4bd53 commit e4382bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4382bb

Please sign in to comment.