Skip to content
This repository was archived by the owner on Mar 26, 2021. It is now read-only.
This repository was archived by the owner on Mar 26, 2021. It is now read-only.

See "Cannot /GET" and error about favicon not loading due to default-src "none" and no img-src explicitly set #32

@bruggineer

Description

@bruggineer

Hello wise coder,

The error is:
Failed to load resource: the server responded with a status of 404 (Not Found) localhost/:1 Refused to load the image 'http://localhost:3002/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.

In searching for and trying out solutions, I came across one recommending your module so I installed it, set it up, but am still getting that error. I've also tried many other suggestions from across the nets.
Am pretty sure this is just "MY" issue, being a noob and all, can you please advise?
My server.js followed by index.html:
Screen Shot 2020-10-30 at 11 52 59 AM
Screen Shot 2020-10-30 at 11 47 12 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions