@@ -66,7 +66,7 @@ data GhcjsApp route = GhcjsApp
6666-- | Serve a frontend, which must be the same frontend that Obelisk has built and placed in the default location
6767--TODO: The frontend should be provided together with the asset paths so that this isn't so easily breakable; that will probably make this function obsolete
6868serveDefaultObeliskApp
69− :: (MonadSnap m, HasCookies m)
69+ :: (MonadSnap m, HasCookies m, MonadFail m)
7070 => (R appRoute
7171 -> Text)
7272 -> ([Text]
@@ -127,7 +127,7 @@ getRouteWith e = do
127127 return $ tryDecode e pageName
128128
129129serveObeliskApp
130− :: (MonadSnap m, HasCookies m)
130+ :: (MonadSnap m, HasCookies m, MonadFail m)
131131 => (R appRoute -> Text)
132132 -> ([Text] -> m ())
133133 -> GhcjsApp (R appRoute)