I'm just building a simple website and try to use github-pages. But somehow I got:
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
I'm not sure about that warning, and my website doesn't show anything.
Here if you want to see it: https://yoga1234.github.io/frontendmentor-challenges/
CodePudding user response:
I took a look at your code on GitHub. I think the problem is with your React router. GitHub pages are deployed in a subdirectory by default. You need to adjust the basepath (homepage) in package.json accordingly. I change the path in my CI script, because i had the same problem a year ago:
- name: Adjust basename