Actually changes endpoint to hit https