Skip to content

Commit

Permalink
remove unsafe-inline from config
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopold-Cramer committed Dec 18, 2024
1 parent f0fff85 commit d81b0ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const cspConfigPolicy = {
],
'script-src': ["'self'"],
'img-src': ["'self'", 'data:'],
'style-src': ["'self'", "'unsafe-inline'"],
'style-src': ["'self'"],
'font-src': ['data:'],
'frame-src': ["'self'", 'blob:', 'https://app.powerbi.com', 'https://login.microsoftonline.com'],
'manifest-src': "'self'",
Expand Down
2 changes: 1 addition & 1 deletion config-overrides.vanilla.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const cspConfigPolicy = {
],
'script-src': ["'self'"],
'img-src': ["'self'", 'data:'],
'style-src': ["'self'", "'unsafe-inline'"],
'style-src': ["'self'"],
'font-src': ['data:'],
'frame-src': ["'self'", 'blob:', 'https://app.powerbi.com', 'https://login.microsoftonline.com'],
'manifest-src': "'self'",
Expand Down

0 comments on commit d81b0ce

Please sign in to comment.