Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'

23,752

Basically you can ignore it. GitHub hosted pages disable FLoC, which is Google's 3rd party cookie alternative. GitHub, Microsoft, doesn't seems to like it.

https://github.blog/changelog/2021-04-27-github-pages-permissions-policy-interest-cohort-header-added-to-all-pages-sites/

Share:
23,752

Related videos on Youtube

Danish Javed
Author by

Danish Javed

Updated on July 09, 2022

Comments

  • Danish Javed
    Danish Javed almost 2 years

    I have just started react.

    My page works fine on localhost.

    Now I am trying to host my page on github.

    I have used "npm run deploy" and hosted

    This is my package.json

    This is my package.json

    Now when I am trying to access my page I run into errors and the first warning concerns me the most .

    Errors

    This is my page : Github Page

    What is this "Permission Policy" and how do I fix it?

  • Danish Javed
    Danish Javed over 2 years
    Got it... Thanks
  • Takash Futada
    Takash Futada about 2 years
    Google decided to kill FLoC, replacing with Topics API. blog.google/products/chrome/…