Skip to content

Commit

Permalink
Correct errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sigrlami committed Oct 11, 2016
1 parent f350989 commit f369987
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/src/Site.hs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ app = makeSnaplet "app" "An snaplet example application." Nothing $ do
-- chance to get called.
addRoutes routes
h <- nestSnaplet "" heist $ heistInit "templates"
s <- nestSnaplet "sess" sess $ initCookieSessionManager "site_key.txt" "sess" (Just "") (Just 3600)
s <- nestSnaplet "sess" sess $ initCookieSessionManager "site_key.txt" "sess" Nothing (Just 3600)

-- Initialize auth that's backed by an sqlite database
d <- nestSnaplet "db" db sqliteInit
Expand Down
6 changes: 2 additions & 4 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
resolver: lts-7.1
resolver: lts-7.3

packages:
- '.'
- location:
git: https://github.com/snapframework/snap-loader-static.git
commit: 75e8d0a8d725332098ea779a6e2995cc7b8e31fb
- example/

extra-deps:
- template-haskell-2.10.0.0
- map-syntax-0.2.0.1
- heist-1.0.0.0
- snap-1.0.0.1
- snap-loader-static-1.0.0.0
- aeson-0.11.1.4
- base-orphans-0.5.4
- clock-0.7.2
Expand Down

0 comments on commit f369987

Please sign in to comment.