mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 17:44:52 +09:00
Add OAuth2 subsite
This commit is contained in:
parent
ac477ab739
commit
318f182245
2 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
|||
|
||||
/auth/!resend ResendVerifyEmailR GET
|
||||
/auth AuthR Auth getAuth
|
||||
/oauth DvaraR Dvara getDvara
|
||||
|
||||
/k KeysR GET POST
|
||||
/k/!new KeyNewR GET
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue