Using this
request.url_root+ attributes["footer"]["district_link"]
in jinja on a page that is https:// gives me a url that has http:// which is causing problems. Is there a way to use this request that preserves this so it will be http:// on a page that uses http and https on a page that uses https?
The backend is using flask if that is relevant here