Commit 1368a44
Fix CSP error for Pylon chat widget inline script (#9248)
Add the SHA-256 hash of the inline script injected by the Pylon widget
at runtime to the `script-src` CSP directive. SvelteKit's hash mode only
covers build-time inline scripts; Pylon's runtime-injected script needs
its hash listed explicitly.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent fb02c09 commit 1368a44
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments