In absolute_url, the PREFERRED_URL_SCHEME Flask config variable is
now used to determine the scheme to use when making absolute URLs out
of relative ones. This should have the effect of using https for
URLs to files in production, avoid unnecessary redirects, and hence
make @tsgit happy.
absolute_url
, thePREFERRED_URL_SCHEME
Flask config variable is now used to determine the scheme to use when making absolute URLs out of relative ones. This should have the effect of usinghttps
for URLs to files in production, avoid unnecessary redirects, and hence make @tsgit happy.Signed-off-by: Micha Moskovic michamos@gmail.com