disable client session cookie

This commit is contained in:
Joey Hess 2012-07-26 12:10:53 -04:00
parent cccdb44874
commit a453be4195

View file

@ -60,6 +60,9 @@ instance Yesod WebApp where
excludeStatic [] = True
excludeStatic (p:_) = p /= "static"
{- Sessions are overkill for a local webapp with 1 user. -}
makeSessionBackend _ = return Nothing
getHomeR :: Handler RepHtml
getHomeR = defaultLayout $ do
[whamlet|Hello, World<p><a href="@{ConfigR}">config|]