X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2Froutes.ini;h=ad01201599864f1a5fe54a4be4ac40fb7a57abe7;hb=930d06a96fa24317f053fecb8569aacaa69a0778;hp=f9954d8c0948d205ef6a37cb118d6f2bf92c5a49;hpb=ebc0d017c8a24bd16ca1f4347b39b07ba4349135;p=pharext%2Fpharext.org diff --git a/app/routes.ini b/app/routes.ini index f9954d8..ad01201 100644 --- a/app/routes.ini +++ b/app/routes.ini @@ -7,6 +7,9 @@ GET[] = /pages/{page} [Github\Callback] GET[] = /github/callback +[Github\Hook] +POST[] = /github/hook + [Github\Index] GET[] = /github @@ -14,6 +17,11 @@ GET[] = /github GET[] = /github/repo/{owner}/{name} GET[] = /github/repo/{owner}/{name}/{page} +[Github\Repo\Hook] +POST[] = /github/repo/{owner}/{name}/hook/{action} +; if the user has to re-authenticate, we'll receive a GET because of a redirect +GET[] = /github/repo/{owner}/{name}/hook/{action} + [Github\Signin] GET[] = /github/signin