mercredi 13 décembre 2017

Ember - Force https with heroku

I've made a ember app deployed on heroku. Heroku provides me an ssl certificat so https is working on my website.

I want to force visitors to uses https. I've found some answer telling to do-it in a client side, but since the client can modify JS he will be able to pass-by the force https.

I'm thinking about doing it in a beforeModel of the ember app. What's the best approach ? Many thanks




Aucun commentaire:

Enregistrer un commentaire