mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 18:34: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/!resend ResendVerifyEmailR GET
|
||||||
/auth AuthR Auth getAuth
|
/auth AuthR Auth getAuth
|
||||||
|
/oauth DvaraR Dvara getDvara
|
||||||
|
|
||||||
/k KeysR GET POST
|
/k KeysR GET POST
|
||||||
/k/!new KeyNewR GET
|
/k/!new KeyNewR GET
|
||||||
|
|
|
@ -144,6 +144,9 @@ type TicketDepKeyHashid = KeyHashid TicketDependency
|
||||||
-- This function also generates the following type synonyms:
|
-- This function also generates the following type synonyms:
|
||||||
-- type Handler = HandlerFor App
|
-- type Handler = HandlerFor App
|
||||||
-- type Widget = WidgetFor App ()
|
-- type Widget = WidgetFor App ()
|
||||||
|
getDvara :: App -> Dvara
|
||||||
|
getDvara = const dvara
|
||||||
|
|
||||||
mkYesodData "App" $(parseRoutesFile "config/routes")
|
mkYesodData "App" $(parseRoutesFile "config/routes")
|
||||||
|
|
||||||
-- | A convenient synonym for creating forms.
|
-- | A convenient synonym for creating forms.
|
||||||
|
|
Loading…
Reference in a new issue