[MM-59552] Remove unsafe-inline
from internal CSP, replace with nonce and rework some dynamic styling (#3120)
* Remove unsafe-inline * Fix dynamic dark mode loading * Include nonce generator for CSP for styles * Add nonce provider for react-select * Fix test
This commit is contained in:
@@ -44,6 +44,7 @@ declare global {
|
||||
goBack: () => void;
|
||||
checkForUpdates: () => void;
|
||||
updateConfiguration: (saveQueueItems: SaveQueueItem[]) => void;
|
||||
getNonce: () => Promise<string | undefined>;
|
||||
|
||||
updateServerOrder: (serverOrder: string[]) => Promise<void>;
|
||||
updateTabOrder: (serverId: string, viewOrder: string[]) => Promise<void>;
|
||||
|
Reference in New Issue
Block a user