on second thought, the session cookie is still useful to support setMessage
This commit is contained in:
parent
3c117685eb
commit
95f4b192f0
2 changed files with 15 additions and 3 deletions
|
@ -60,8 +60,7 @@ instance Yesod WebApp where
|
|||
excludeStatic [] = True
|
||||
excludeStatic (p:_) = p /= "static"
|
||||
|
||||
{- Sessions are overkill for a local webapp with 1 user. -}
|
||||
makeSessionBackend _ = return Nothing
|
||||
makeSessionBackend = webAppSessionBackend
|
||||
|
||||
getHomeR :: Handler RepHtml
|
||||
getHomeR = defaultLayout $ do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue