avajs / ava

Node.js test runner that lets you develop with confidence 🚀
MIT License
20.74k stars 1.41k forks source link

Pronunciation file can not be played #2229

Closed MartijnCuppens closed 4 years ago

MartijnCuppens commented 5 years ago

In the readme, the link to pronunciation won't play the pronunciation because it violates content Security Policy directive.

Refused to load media from 'https://raw.githubusercontent.com/avajs/ava/master/media/pronunciation.m4a' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'media-src' was not explicitly set, so 'default-src' is used as a fallback.
Blocked script execution in 'https://raw.githubusercontent.com/avajs/ava/master/media/pronunciation.m4a' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
novemberborn commented 5 years ago

Thanks for noticing @MartijnCuppens!

Would be good to know whether this is a purposeful change on GitHub's part or something we need to deal with on our end.

ghost commented 4 years ago

I just checked the link and it is working, @novemberborn. I think that this issue can be closed.

novemberborn commented 4 years ago

Thanks @bok-jin!