htmx
htmx copied to clipboard
HTMX redirect to difference protocol
I am attempting to redirect the user to http://localhost:8888/login
with a status code of 302 from the request http://localhost:8888/app/650ac897c70568965390695f/crm/appointments
.
However, HTMX is making a call to https://localhost:8888/login
instead.
I cannot find any documentation about this. Is this the intended behavior?
Not sure whether this is the problem, but I noticed that you're responding with a Strict-Transport-Security
header for an HTTP (not HTTPS) request. This tells the browser that it must always use HTTPS for this site.
@svenberkvens Oh thank you. I will close this issue.