/** * The content-security policy, one string for all four versions (CLAUDE.md §2, *Four versions*). * The PWA carries it in a tag, because GitHub Pages cannot send headers (CLAUDE.md §8). * The Tauri shell delivers it from `apps/rosea-tauri/src-tauri/tauri.conf.json` * (`app.security.csp`), and the shell's test holds that string equal to this one * (tauri-platforms.md D4). * * `'self'` everywhere and nothing else: no CDN, no font host, no analytics (CLAUDE.md §4). * `frame-ancestors` is ignored in a meta tag and is omitted rather than pretended. */ export const CSP = [ "default-src 'self'", "script-src 'self'", "style-src 'self'", "img-src 'self' data:", "font-src 'self'", "connect-src 'self'", "manifest-src 'self'", "worker-src 'self'", "object-src 'none'", "base-uri 'self'", "form-action 'none'" ].join('; ');