diff options
author | Ben Sima <ben@bsima.me> | 2020-07-24 23:39:21 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-07-24 23:39:21 -0700 |
commit | c2827b0560082f5499c178ead746e7ff9448dd64 (patch) | |
tree | 2a562390c28b8e62eefb129df83a4b80984e33f3 /Hero/Core.hs | |
parent | ddc9b826bdc568004451fb14b458476e4c7e5061 (diff) |
hero: working authenticated api calls
Diffstat (limited to 'Hero/Core.hs')
-rw-r--r-- | Hero/Core.hs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Hero/Core.hs b/Hero/Core.hs index c11456d..3870c59 100644 --- a/Hero/Core.hs +++ b/Hero/Core.hs @@ -296,7 +296,8 @@ data Action deriving (Show, Eq) type AppRoutes = - ComicCover + Home + :<|> ComicCover :<|> ComicReaderSpread :<|> ComicReaderFull :<|> ComicVideo @@ -304,7 +305,8 @@ type AppRoutes = :<|> ChooseExperience handlers = - comicCover + home + :<|> comicCover :<|> comicReader :<|> comicReader :<|> comicReader @@ -316,7 +318,7 @@ routes = Proxy type PubRoutes = Home - :<|> Login + :<|> Login pubRoutes :: Proxy PubRoutes pubRoutes = Proxy |