Skip to content

Commit

Permalink
small update to content security policy
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicSponge committed Jun 12, 2024
1 parent 39fa06f commit 0fd09c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion electron/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,8 @@ app.whenReady().then(() => {
responseHeaders: {
...details.responseHeaders,
'Content-Security-Policy': [
`default-src 'self'; script-src 'self'; style-src 'unsafe-inline'; font-src 'self'; frame-src 'self'`
`default-src 'self'; script-src 'self'; style-src 'unsafe-inline'; ` +
`font-src 'self'; frame-src 'self'`
]
}
})
Expand Down

0 comments on commit 0fd09c5

Please sign in to comment.