Fix https errors with heroku