Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
goldenbearkin opened this issue Jul 19, 2016 · 4 comments
Labels
needs: investigation Requires some digging to determine if action is needed type: bug/fix

Comments

@goldenbearkin
Copy link

goldenbearkin commented Jul 19, 2016

  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:".

@goldenbearkin goldenbearkin 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..." Jul 19, 2016
@filipesilva
Copy link
Contributor

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

@filipesilva filipesilva added type: bug/fix needs: more info Reporter must clarify the issue labels Jul 28, 2016
@smitthakkar96
Copy link

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

@filipesilva filipesilva added command: deploy needs: investigation Requires some digging to determine if action is needed and removed needs: more info Reporter must clarify the issue labels Nov 4, 2016
@filipesilva
Copy link
Contributor

Closed via #4385.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: investigation Requires some digging to determine if action is needed type: bug/fix
Projects
None yet
Development

No branches or pull requests

3 participants