changed https policy. now falling back on approot prefix instead of http.
This commit is contained in:
parent
259976d927
commit
b166beaaa7
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue