From b166beaaa75e75ac40d83c1490461a48c2e59c77 Mon Sep 17 00:00:00 2001 From: nek0 Date: Mon, 8 Jun 2015 05:39:14 +0200 Subject: [PATCH] changed https policy. now falling back on approot prefix instead of http. --- Foundation.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.