summaryrefslogtreecommitdiff
path: root/Hero/Core.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-07-24 23:39:21 -0700
committerBen Sima <ben@bsima.me>2020-07-24 23:39:21 -0700
commitc2827b0560082f5499c178ead746e7ff9448dd64 (patch)
tree2a562390c28b8e62eefb129df83a4b80984e33f3 /Hero/Core.hs
parentddc9b826bdc568004451fb14b458476e4c7e5061 (diff)
hero: working authenticated api calls
Diffstat (limited to 'Hero/Core.hs')
-rw-r--r--Hero/Core.hs8
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