Skip to content

Commit 4471ddf

Browse files
committed
Merge branch 'master' of github.com:developit/greenlet
2 parents 8a9481a + be85feb commit 4471ddf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ if (window.Worker) {
6868
}
6969
```
7070

71+
### CSP
72+
73+
If your app has a [Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy),
74+
Greenlet require `worker-src data:` and `script-src data:` in your config.
75+
7176
## License & Credits
7277

7378
> In addition to the contributors, credit goes to [@sgb-io](https://github.com/sgb-io) for his annotated exploration of Greenlet's source. This prompted a refactor that clarified the code and allowed for further size optimizations.

0 commit comments

Comments
 (0)