CSP: style-src ohne unsafe-inline — Fenster-Styles aus den HTML-Köpfen nach src/*-window.css
terminal/panel/popup.html laden ihre Styles jetzt als erste Imports der jeweiligen Entries (Kaskade wie zuvor: Fenster-CSS vor xterm/fonts); devCsp behält unsafe-inline für die Vite-HMR-Style-Injektion.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"macOSPrivateApi": true,
|
||||
"windows": [],
|
||||
"security": {
|
||||
"csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src ipc: http://ipc.localhost",
|
||||
"csp": "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; connect-src ipc: http://ipc.localhost",
|
||||
"devCsp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src ipc: http://ipc.localhost ws://localhost:1420 http://localhost:1420"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user