expressjs / serve-favicon

favicon serving middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't run express js server app on my local host:3000

3abdawy opened this issue · comments

The browser keeps showing an error says :-

for the favicon.ico automatic Get request by the browser

  1. Refused to load the image 'http://localhost: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.

for my localhost Get request

  1. it returns with 404 error Not found

Very strange. I am not able to reproduce the issue just using the example in the readme.

Can you provide all the following?

  1. Browser you are using
  2. Node.js version
  3. Version of this module
  4. Complete code I can run that reproduces the issue
  5. Instructions for how to reproduce

Thanks!

Thanks. You are not actually using this module in your example, so this module would not actually have any effect on the issue you are having. If you are having a general express issue, you can always post of the express tracker.

Thank you !

No problem. The audience is larger there and will make sure you get an answer :)