Https switch will change device url (80 -> 443) so current javascript checking switch status using http url stops working and we get 400 Bad Request (trying to access https site with http protocol)
Probably we should detect 400 and treat it as successful https switch and redirect to https protocol.
The problem is when port is changing, probably we can send user to redirect account page.
Internal mode is fine as we always have http and https protocols running side-by-side, external mode just opens one of them to the internet.
Https switch will change device url (80 -> 443) so current javascript checking switch status using http url stops working and we get 400 Bad Request (trying to access https site with http protocol)
Probably we should detect 400 and treat it as successful https switch and redirect to https protocol. The problem is when port is changing, probably we can send user to redirect account page.
Internal mode is fine as we always have http and https protocols running side-by-side, external mode just opens one of them to the internet.