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

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?

1 Answer

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.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like