Fix HTTPS errors and use Firebase hosting by default