I am encountering a very similar problem in this test-project: https://github.com/DevKame/express_sass/tree/sass
The post request towards /login should invoke a redirect towards /login/dashboard.
And this happens. But for some reason my browser wants to access /login/dashboard over https, what, in my local environment, invokes an error.
I never had localhost running on https.
Why does this happen and how can i avoid that?
failed request to /login/dashboard
ssl error
response from previous post towards /login, showing that "Location" header is with http