Skip to content

ng github-pages:deploy error message on Browser console "Refused to load the image..." and "Refused to load the font..." #1380

Closed

Description

@goldenbearkin
  1. Mac OSX (EI Capitan)
  2. angular-cli: 1.0.0-beta.9
    node: 6.2.2
    os: darwin x64
  3. below is my steps:

-> ng new testGitHub
-> after setup github repos
-> ng github-pages:deploy --message "Optional commit message"

  1. I just deploy the barebone project on github, the following error message displays on github page console:

Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIw4ABEAAAABQcAAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.

Refused to load the image 'https://xxxxxxxxx.github.io/favicon.ico' because it violates the following Content Security Policy directive: "img-src data:".

Activity

  1. changed the title [-]ng github-pages:deploy error message "Refused to load the image..." and "Refused to load the font..."[/-] [+]ng github-pages:deploy error message on Browser console "Refused to load the image..." and "Refused to load the font..."[/+] on Jul 19, 2016
  2. filipesilva commented on Jul 28, 2016

    @filipesilva
    Contributor

    Can you give me the page url and repo so I could look? I can't seem to repro this myself.

  3. smitthakkar96 commented on Nov 2, 2016

    @smitthakkar96

    I also have the same issue
    my repo github.com/papendong/lendcypher_refined

  4. filipesilva commented on Feb 3, 2017

    @filipesilva
    Contributor

    Closed via #4385.

  5. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  6. locked and limited conversation to collaborators on Sep 6, 2019
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions