temporary testing of webhook sent by Gitea

This commit is contained in:
Paul Liverman III 2018-05-11 13:32:23 -07:00
parent 87cf00673c
commit f2b05fde71

View File

@ -23,6 +23,13 @@ class Simplex extends Application
else
super err --, trace
"/githook": =>
@html ->
p "Headers:"
ul ->
for k,v in pairs @req.headers
li "#{k}: #{v}"
[index: "/"]: =>
if @user
@keys = APIKeys\select "WHERE user_id = ? ORDER BY created_at ASC", @user.id