mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-15 15:10:31 -08:00
fix: unsafe-eval for react-dom
No time to fix this react-dom unsafe-eval CspHtmlWebpackPlugin nonce problem
This commit is contained in:
parent
3a494136e5
commit
8e2c02e77f
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ exports.renderer = [
|
|||
{
|
||||
'base-uri': ["'self'"],
|
||||
'object-src': ["'none'"],
|
||||
'script-src': [`'self' ${isDevelopment ? "'unsafe-eval'" : ''}`],
|
||||
'script-src': ["'self' 'unsafe-eval'"],
|
||||
'style-src': ["'self' 'unsafe-inline'"],
|
||||
'frame-src': ["'none'"],
|
||||
'worker-src': ["'none'"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue