|
8 | 8 | "app": { |
9 | 9 | "withGlobalTauri": true, |
10 | 10 | "windows": [ |
11 | | - ] |
| 11 | + ], |
| 12 | + "security": { |
| 13 | + "assetProtocol": { |
| 14 | + "enable": true, |
| 15 | + "scope": ["**"] |
| 16 | + }, |
| 17 | + "csp": { |
| 18 | + "default-src": [ |
| 19 | + "'self'", |
| 20 | + "'unsafe-eval'", |
| 21 | + "'unsafe-inline'", |
| 22 | + "blob:", |
| 23 | + "data:", |
| 24 | + "https://*.fakeyou.com", |
| 25 | + "https://*.storyteller.ai", |
| 26 | + "https://www.google-analytics.com", |
| 27 | + "https://www.googletagmanager.com", |
| 28 | + "ipc://localhost", |
| 29 | + "tauri://localhost" |
| 30 | + ], |
| 31 | + "connect-src": [ |
| 32 | + "'self'", |
| 33 | + "'unsafe-eval'", |
| 34 | + "'unsafe-inline'", |
| 35 | + "asset:", |
| 36 | + "blob:", |
| 37 | + "data:", |
| 38 | + "http://ipc.localhost", |
| 39 | + "https://*.clarity.ms", |
| 40 | + "https://*.fakeyou.com", |
| 41 | + "https://*.storyteller.ai", |
| 42 | + "https://asset.localhost", |
| 43 | + "https://unpkg.com/detect-gpu@5.0.70/", |
| 44 | + "https://www.google-analytics.com", |
| 45 | + "https://www.googletagmanager.com", |
| 46 | + "ipc://localhost", |
| 47 | + "tauri://localhost" |
| 48 | + ], |
| 49 | + "font-src": "*", |
| 50 | + "img-src": [ |
| 51 | + "", |
| 52 | + "'self'", |
| 53 | + "'unsafe-inline'", |
| 54 | + "*", |
| 55 | + "blob:", |
| 56 | + "data:", |
| 57 | + "https://*.fakeyou.com", |
| 58 | + "https://*.storyteller.ai", |
| 59 | + "ipc://localhost", |
| 60 | + "tauri://localhost" |
| 61 | + ], |
| 62 | + "script-src": [ |
| 63 | + "'self'", |
| 64 | + "'unsafe-eval'", |
| 65 | + "'unsafe-inline'", |
| 66 | + "'wasm-unsafe-eval'", |
| 67 | + "asset:", |
| 68 | + "blob:", |
| 69 | + "data:", |
| 70 | + "https://*.clarity.ms", |
| 71 | + "https://*.fakeyou.com", |
| 72 | + "https://*.storyteller.ai", |
| 73 | + "https://*.unpkg.com", |
| 74 | + "https://clarity.ms", |
| 75 | + "https://unpkg.com", |
| 76 | + "ipc://localhost", |
| 77 | + "tauri:", |
| 78 | + "tauri://localhost" |
| 79 | + ], |
| 80 | + "style-src": [ |
| 81 | + "'self'", |
| 82 | + "'unsafe-eval'", |
| 83 | + "'unsafe-inline'", |
| 84 | + "blob:", |
| 85 | + "data:", |
| 86 | + "https://*.fakeyou.com", |
| 87 | + "https://*.storyteller.ai", |
| 88 | + "https://fonts.googleapis.com", |
| 89 | + "ipc://localhost", |
| 90 | + "tauri://localhost" |
| 91 | + ] |
| 92 | + } |
| 93 | + } |
12 | 94 | } |
13 | 95 | } |
0 commit comments