I have a project deployed as a website (not a PWA) through a node.js server. The website works as intended, but when reloaded on a particular page (let’s say lvh.me:3000/home), I get a error on the page “cannot get /home”.
The project works perfectly on ionic serve without any error on the browser console. But when the above issue arises, I get an error of “Refused to load the image ‘http://lvh.me:3000/favicon.ico’ because it violates the following Content Security Policy directive: “default-src ‘none’”. Note that ‘img-src’ was not explicitly set, so ‘default-src’ is used as a fallback.”
Any suggestion on how to resolve this?