lionleaf / dwitter

Social network for short js demos
https://www.dwitter.net
Apache License 2.0
771 stars 67 forks source link

gif record not working #511

Open marcosassis opened 3 years ago

marcosassis commented 3 years ago

When I try to record a dweet I get several errors like:

Refused to connect to 'https://bam.nr-data.net/events/1/1b1cd97153?a=99980395&v=1209.f04e2b9&to=Z1JXZ0tXWEYABkBQC14Yc0ZXVUJcDgsbXRNZQ0FWSxhQUAQBGk8NVUBGCV1BU1AVOkdRC0c%3D&rst=42833&ck=1&ref=https://www.dwitter.net/d/22873' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.

It happens both in Firefox and Chrome (Ubuntu 20.04).

lionleaf commented 3 years ago

You're completely right, the record dweet functionality is currently completely broken; though I don't think it's related to that error. The dweet record functionality was already super slow, so best solution might be to hide the button for now and then add a new more performant record option later on.