From 6cf1b9b7bbca3d6598f9504ab4cb48c2b4677c76 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 16 Mar 2017 16:47:23 +0100 Subject: Revert "Guess approot" This reverts commit cf0197fb463a5e1235bee1e4bab07cec0d15097b. --- Foundation.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Foundation.hs b/Foundation.hs index 166b83c..d7425d5 100644 --- a/Foundation.hs +++ b/Foundation.hs @@ -52,7 +52,7 @@ type Form x = Html -> MForm (HandlerT App IO) (FormResult x, Widget) -- Please see the documentation for the Yesod typeclass. There are a number -- of settings which can be configured by overriding methods here. instance Yesod App where - approot = guessApproot + approot = ApprootRequest $ \_ req -> maybe "" (TE.decodeUtf8With TEE.lenientDecode) $ Map.lookup "AppRoot" (Map.fromList $ requestHeaders req) -- Store session data on the client in encrypted cookies, -- default session idle timeout is 120 minutes -- cgit v1.2.3