Skip to content

Refused to connect to [FontAwesome] because it violates the document's Content Security Policy. #507

Description

@joehakimrahme

When running a local instance in dev mode, the Unit Builder throws these errors (found in the console):


a68d75f74a.js:2 Refused to connect to 'https://ka-f.fontawesome.com/releases/v5.15.2/css/free.min.css?token=a68d75f74a' because it violates the document's Content Security Policy.

a68d75f74a.js:2 Refused to connect to 'https://ka-f.fontawesome.com/releases/v5.15.2/css/free-v4-shims.min.css?token=a68d75f74a' because it violates the following Content Security Policy directive: "connect-src 'self' www.google-analytics.com firebasestorage.googleapis.com https://api.github.com https://discordapp.com https://api.imgur.com/3/image".


a68d75f74a.js:2 Refused to connect to 'https://ka-f.fontawesome.com/releases/v5.15.2/css/free-v4-shims.min.css?token=a68d75f74a' because it violates the document's Content Security Policy.

a68d75f74a.js:2 Refused to connect to 'https://ka-f.fontawesome.com/releases/v5.15.2/css/free-v4-font-face.min.css?token=a68d75f74a' because it violates the following Content Security Policy directive: "connect-src 'self' www.google-analytics.com firebasestorage.googleapis.com https://api.github.com https://discordapp.com https://api.imgur.com/3/image".


a68d75f74a.js:2 Refused to connect to 'https://ka-f.fontawesome.com/releases/v5.15.2/css/free-v4-font-face.min.css?token=a68d75f74a' because it violates the document's Content Security Policy.

a68d75f74a.js:2 Font Awesome Kit: TypeError: Failed to fetch

Because of this (I think?) the pinning/remove/ban options in the builder are not appearing (cf screenshot below)

Screenshot from 2021-01-26 16-47-36

My environment

  • Browser: Chrome Version 88.0.4324.96 (Official Build) (64-bit)
  • OS: Fedora 32
  • environment: development

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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