How to fix sameSite cookie issue
On my gatsby static site, the comments iframe appears in my local environment but when deployed I get the error: "Refused to frame 'https://discussions.yarcenter.talkyard.net/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors https://yarcenter.org"."
Is there something I should add to my gatsby-config file. I could not find anything in the admin panel here on talkyard when logged in as admin.
- 1 replies
- KajMagnus @KajMagnus2020-09-01 02:33:38.374Z
Hmm that error message doesn't sound like a SameSite cookie problem. You have a link to a page at your website, with blog comments embedded? Then I can have a look.
I wouldn't expect this to work right now, anyway, since HTTPS won't work with the dot in
discussions.yarcenter— the HTTPS cert is for
*there must be no additional dots.
Here, HTTPS would work:
(This is something I should improve in the UX, so one cannot type extra dots)