You may need to make a change to the angular.json file:
angular.json
"assets": [ "src/assets", "src/favicon.ico" ],