π python 3.x - FastAPI redirection for trailing slash returns no... βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ !https://stackoverflow.com/questions/63511413/fastapi-redirection-for-trailing-slash-returns-non-ssl-link Date: July 28, 2023 External Link stackoverflow.com I am trying to use htmx on a new fastapi site for my thoughts, and have been hitting this error. ``` Mixed Content: The page at 'https://front.mydomain.com/#/clients/1' was loaded over HTTPS, but requested an insecure resource 'http://back.mydomain/jobs/?_end=25&_order=DESC&_sort=id&_start=0&client_id=1'. This request has been blocked; the content must be served over HTTPS. ``` What is happening βββββββββββββββββ I have an htmx component that gets the current users name, but if they are not logged in the backend redirects to a login form. ```