fatffatable
fatffatable

Reputation: 409

Firebase hosting causing insecure connection via www

I'm using firebase hosting for my website. If I visit my website by typing just the domain in the address bar (eg example.com) or https://example.com, it works fine. However, if I were to add a prefix www (eg www.example.com or https://example.com), then I get an insecure connection error. Is there any way to fix this? Thanks

Upvotes: 7

Views: 5780

Answers (1)

fatffatable
fatffatable

Reputation: 409

I just realised that you have to add both example.com and www.example.com to your site in the Firebase Console.

Thanks

Upvotes: 17

Related Questions