disable client session cookie
This commit is contained in:
parent
cccdb44874
commit
a453be4195
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ instance Yesod WebApp where
|
||||||
excludeStatic [] = True
|
excludeStatic [] = True
|
||||||
excludeStatic (p:_) = p /= "static"
|
excludeStatic (p:_) = p /= "static"
|
||||||
|
|
||||||
|
{- Sessions are overkill for a local webapp with 1 user. -}
|
||||||
|
makeSessionBackend _ = return Nothing
|
||||||
|
|
||||||
getHomeR :: Handler RepHtml
|
getHomeR :: Handler RepHtml
|
||||||
getHomeR = defaultLayout $ do
|
getHomeR = defaultLayout $ do
|
||||||
[whamlet|Hello, World<p><a href="@{ConfigR}">config|]
|
[whamlet|Hello, World<p><a href="@{ConfigR}">config|]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue