|
11 | 11 | "capabilities": [], |
12 | 12 | "csp": { |
13 | 13 | "block-all-mixed-content": "", |
14 | | - "connect-src": "'self' wss://tauri.localhost https:", |
| 14 | + "connect-src": "'self' http://localhost:* https://tauri.localhost wss://tauri.localhost https:", |
15 | 15 | "default-src": "'none'", |
16 | | - "font-src": "'self' vscode-remote-resource: vscode-managed-remote-resource:", |
17 | | - "frame-src": "'self' vscode-webview:", |
18 | | - "img-src": "'self' data: blob: vscode-remote-resource: vscode-managed-remote-resource: https:", |
19 | | - "manifest-src": "'self'", |
20 | | - "media-src": "'self'", |
| 16 | + "font-src": "'self' vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost", |
| 17 | + "frame-src": "'self' vscode-webview: http://localhost:* https://tauri.localhost", |
| 18 | + "img-src": "'self' data: blob: vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost https:", |
| 19 | + "manifest-src": "'self' http://localhost:* https://tauri.localhost", |
| 20 | + "media-src": "'self' http://localhost:* https://tauri.localhost", |
21 | 21 | "require-trusted-types-for": "'script'", |
22 | | - "script-src": "'self' 'unsafe-inline' 'unsafe-eval' blob:", |
23 | | - "style-src": "'self' 'unsafe-inline'", |
24 | | - "trusted-types": "WorkerApplication amdLoader cellRendererEditorText defaultWorkerFactory diffEditorWidget diffReview domLineBreaksComputer dompurify editorGhostText editorViewLayer notebookRenderer stickyScrollViewLayer tokenizeToString notebookChatEditController", |
| 22 | + "script-src": "'self' 'unsafe-inline' 'unsafe-eval' blob: http://localhost:* https://tauri.localhost", |
| 23 | + "style-src": "'self' 'unsafe-inline' http://localhost:* https://tauri.localhost", |
| 24 | + "trusted-types": "WorkerApplication amdLoader cellRendererEditorText defaultWorkerFactory diffEditorWidget diffReview domLineBreaksComputer dompurify editorGhostText editorViewLayer notebookRenderer stickyScrollViewLayer tokenizeToString notebookChatEditController richScreenReaderContent collapsedCellPreview", |
25 | 25 | "upgrade-insecure-requests": "" |
26 | 26 | }, |
27 | 27 | "dangerousDisableAssetCspModification": true, |
28 | 28 | "devCsp": { |
29 | 29 | "block-all-mixed-content": "", |
30 | | - "connect-src": "'self' wss://tauri.localhost https:", |
| 30 | + "connect-src": "'self' http://localhost:* https://tauri.localhost wss://tauri.localhost https:", |
31 | 31 | "default-src": "'none'", |
32 | | - "font-src": "'self' vscode-remote-resource: vscode-managed-remote-resource:", |
33 | | - "frame-src": "'self' vscode-webview:", |
34 | | - "img-src": "'self' data: blob: vscode-remote-resource: vscode-managed-remote-resource: https:", |
35 | | - "manifest-src": "'self'", |
36 | | - "media-src": "'self'", |
| 32 | + "font-src": "'self' vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost", |
| 33 | + "frame-src": "'self' vscode-webview: http://localhost:* https://tauri.localhost", |
| 34 | + "img-src": "'self' data: blob: vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost https:", |
| 35 | + "manifest-src": "'self' http://localhost:* https://tauri.localhost", |
| 36 | + "media-src": "'self' http://localhost:* https://tauri.localhost", |
37 | 37 | "require-trusted-types-for": "'script'", |
38 | | - "script-src": "'self' 'unsafe-inline' 'unsafe-eval' blob:", |
39 | | - "style-src": "'self' 'unsafe-inline'", |
40 | | - "trusted-types": "WorkerApplication amdLoader cellRendererEditorText defaultWorkerFactory diffEditorWidget diffReview domLineBreaksComputer dompurify editorGhostText editorViewLayer notebookRenderer stickyScrollViewLayer tokenizeToString notebookChatEditController", |
| 38 | + "script-src": "'self' 'unsafe-inline' 'unsafe-eval' blob: http://localhost:* https://tauri.localhost", |
| 39 | + "style-src": "'self' 'unsafe-inline' http://localhost:* https://tauri.localhost", |
| 40 | + "trusted-types": "WorkerApplication amdLoader cellRendererEditorText defaultWorkerFactory diffEditorWidget diffReview domLineBreaksComputer dompurify editorGhostText editorViewLayer notebookRenderer stickyScrollViewLayer tokenizeToString notebookChatEditController richScreenReaderContent collapsedCellPreview", |
41 | 41 | "upgrade-insecure-requests": "" |
42 | 42 | }, |
43 | 43 | "freezePrototype": false, |
|
0 commit comments