Reputation: 592
I'm pretty new to Angular. I just started by creating a new "hello world" application.
Anyway, when I executed ng serve
and went to my app at localhost:4200, I noticed there was no favicon.
I'm getting the following error in the Chrome console:
GET http://localhost:4200/favicon.ico net::ERR_BLOCKED_BY_CLIENT
The icon is being served (if I go to localhost:4200/favicon.ico
, I can see that the file exists and is there), but for some reason Chrome is not showing it:
Any ideas on how to fix this?
Thanks!
Upvotes: 0
Views: 678
Reputation: 905
May you have some AdBlocker in your browser. AdBlock blocks the page and throws a ERR_BLOCKED_BY_CLIENT error. Disable this AdBlocker may help you.
Upvotes: 2
Reputation: 14669
It seems you have to allow your url/domain from blocked security (proxy settings) of browser. Please refer below links:
https://www.keycdn.com/support/how-to-solve-err-blocked-by-client/ https://www.techinpost.com/fixed-error-err_blocked_by_client-code-problem-instantly/
Upvotes: 1