diff --git a/Foundation.hs b/Foundation.hs index e597585..4d7c3f0 100644 --- a/Foundation.hs +++ b/Foundation.hs @@ -121,7 +121,7 @@ approotRequest master req = prefix = case isSecure req of True -> "https://" - False -> "http://" + False -> (fst $ breakOn ":" $ appRoot $ appSettings master) `T.append` "://" -- Please see the documentation for the Yesod typeclass. There are a number -- of settings which can be configured by overriding methods here.