Add OAuth2 subsite

This commit is contained in:
fr33domlover 2020-03-28 14:28:24 +00:00
parent ac477ab739
commit 318f182245
2 changed files with 4 additions and 0 deletions

View file

@ -45,6 +45,7 @@
/auth/!resend ResendVerifyEmailR GET
/auth AuthR Auth getAuth
/oauth DvaraR Dvara getDvara
/k KeysR GET POST
/k/!new KeyNewR GET

View file

@ -144,6 +144,9 @@ type TicketDepKeyHashid = KeyHashid TicketDependency
-- This function also generates the following type synonyms:
-- type Handler = HandlerFor App
-- type Widget = WidgetFor App ()
getDvara :: App -> Dvara
getDvara = const dvara
mkYesodData "App" $(parseRoutesFile "config/routes")
-- | A convenient synonym for creating forms.