giscus / giscus-component

Component library for giscus, a comment system powered by GitHub Discussions.
https://giscus-component.vercel.app
MIT License
328 stars 25 forks source link

Svelte component doesn't work #7

Closed jestarray closed 2 years ago

jestarray commented 2 years ago

https://jestlearn.com/how_to_code/#discuss/structs

On chrome I get:

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

and on firefox i get:

Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive.

Here is my source code: https://github.com/jestarray/jestlearn/blob/main/src/Discussions.svelte

I tried both using the Giscus svelte component which doesn't work at all, and the <script> tag which only works on localhost and not in deployment... seems like it doesn't even load the Githubissues.

  • Githubissues is a development platform for aggregating issues.