changed https policy. now falling back on approot prefix instead of http.

This commit is contained in:
nek0 2015-06-08 05:39:14 +02:00
parent 259976d927
commit b166beaaa7

View file

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