fix: allow WRNexus reactive inline styles
This commit is contained in:
+4
-1
@@ -41,7 +41,10 @@ const config: AppConfig = {
|
||||
"default-src": ["'self'"],
|
||||
"img-src": ["'self'", "data:", "https:"],
|
||||
"font-src": ["'self'", "data:", "https://fonts.gstatic.com"],
|
||||
"style-src": ["'self'", "https://fonts.googleapis.com"],
|
||||
// WRNexus 0.8 components and the reactive runtime use style attributes
|
||||
// for initial visibility and state changes. CSP nonces do not authorize
|
||||
// style attributes, so unsafe-inline remains required for this release.
|
||||
"style-src": ["'self'", "'unsafe-inline'", "https://fonts.googleapis.com"],
|
||||
// The service worker fetches and caches the configured Google Font.
|
||||
// Service-worker fetch() is governed by connect-src as well as font-src.
|
||||
"connect-src": ["'self'", "https://fonts.gstatic.com"],
|
||||
|
||||
Reference in New Issue
Block a user