gitit 0.3.4.1 → 0.3.4.2
raw patch · 2 files changed
+3/−3 lines, 2 files
Files
- Gitit.hs +2/−2
- gitit.cabal +1/−1
Gitit.hs view
@@ -63,7 +63,7 @@ import System.IO.Unsafe (unsafePerformIO) gititVersion :: String-gititVersion = "0.3.4.1"+gititVersion = "0.3.4.2" sessionTime :: Int sessionTime = 60 * 60 -- session will expire 1 hour after page request@@ -499,7 +499,7 @@ mContents <- rawContents file params case mContents of Nothing -> error "Unable to retrieve page contents."- Just c -> ok $ setContentType "text/plain; charset=utf-8" $ toResponse c+ Just c -> ok $ setContentType "text/plain; charset=utf-8" $ toResponse $ encodeString c randomPage :: String -> Params -> Web Response randomPage _ _ = do
gitit.cabal view
@@ -1,5 +1,5 @@ name: gitit-version: 0.3.4.1+version: 0.3.4.2 Cabal-version: >= 1.2 build-type: Simple synopsis: Wiki using HAppS, git, and pandoc.