mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-02 16:54:52 +02:00
Enable WebAssemblyCSP flag so wasm-eval CSP can be used instead of requiring unsafe-eval (#617)
This commit is contained in:
parent
9569a46f8a
commit
625b8b828f
|
@ -47,7 +47,7 @@ X-Frame-Options "DENY";
|
||||||
```
|
```
|
||||||
A working Content Security Policy looks like that:
|
A working Content Security Policy looks like that:
|
||||||
```
|
```
|
||||||
Content-Security-Policy "img-src 'self' 'unsafe-inline' data:; style-src 'self' 'unsafe-inline'; font-src 'self'; object-src 'none'; base-uri 'self'; form-action 'none';";
|
Content-Security-Policy "img-src 'self' 'unsafe-inline' data:; script-src 'self' 'unsafe-inline' 'wasm-eval'; style-src 'self' 'unsafe-inline'; font-src 'self'; object-src 'none'; base-uri 'self'; form-action 'none';";
|
||||||
```
|
```
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
2
main.js
2
main.js
|
@ -213,7 +213,7 @@ function createJitsiMeetWindow() {
|
||||||
minHeight: 600,
|
minHeight: 600,
|
||||||
show: false,
|
show: false,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
enableBlinkFeatures: 'RTCInsertableStreams,WebAssemblySimd',
|
enableBlinkFeatures: 'RTCInsertableStreams,WebAssemblySimd,WebAssemblyCSP',
|
||||||
enableRemoteModule: true,
|
enableRemoteModule: true,
|
||||||
contextIsolation: false,
|
contextIsolation: false,
|
||||||
nativeWindowOpen: true,
|
nativeWindowOpen: true,
|
||||||
|
|
Loading…
Reference in a new issue