Skip to content

Commit 792d426

Browse files
authored
Mention 'wasm-unsafe-eval' in the CSP documentation. (#3238)
1 parent 3098dc5 commit 792d426

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/content/docs/security/csp.mdx

+5
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ example of Tauri, but every application developer needs to tailor this to their
3636
},
3737
```
3838

39+
:::tip
40+
When using Rust to develop your frontend, or if your frontend otherwise uses WebAssembly, remember
41+
to include `'wasm-unsafe-eval'` as a `script-src`.
42+
:::
43+
3944
See [`script-src`], [`style-src`] and [CSP Sources] for more
4045
information about this protection.
4146

0 commit comments

Comments
 (0)