Thursday, 1 March 2018

Deploying app under https

Hey folks, Aiming to learn some nodejs I built a small RESTfull API with some basic functionalities. I built the front end with Vue.js and connect it to the backend using axios. After build I could host the front end using firebase hosting or GitHub pages. The problem is that those services mentioned before host my app's frontend under https, and my backend is hosted on digitalocean and I can only access through http. So the browser shows me an error saying that can't connect to the backend because it's needed to be served under https. Which alternatives do I have? I guess everything under https is preferred.

Submitted March 01, 2018 at 09:22PM by josewhitetower

No comments:

Post a Comment