- Web app moves to https://jsonprism.poli0981.dev on Cloudflare Workers (static assets + /api/turnstile/verify + /api/health), with security headers, redirects for the old /jsonPrism paths, previews for non-production branches and a production smoke workflow. GitHub Pages only redirects now. - Web-only Turnstile human check (server-verified, 7-day pass) and cookieless Web Analytics (after consent, opt-out, off under GPC); Privacy Policy and Terms 2.0, consent version 2. - Node 26, TypeScript 7 with the TS 6 API alias for typescript-eslint, dependencies on current majors (ends the ERESOLVE that kept main red). - Converter fixes: CSV columns, binary ZIP entries, MySQL backslash escaping, RESX/XML validity, BSON size, YAML quoting and alias limits, TOML nulls and big integers, JSON error positions, JSONL/BOM linting. - Web Worker conversion, faster editor, technical UI refresh with an Appearance menu and custom scrollbars, accessibility and i18n gaps. - Tauri least-privilege capabilities, hardened CSP, Tauri 2.12. - CI: SHA-pinned least-privilege workflows, SonarQube Cloud, Rust job, verifiable releases (SHA256SUMS + provenance); Dependabot grouping. - 864 tests (97% line coverage), SonarCloud quality gate passing; docs, legal and CLAUDE.md refreshed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
1.6 KiB
Plaintext
27 lines
1.6 KiB
Plaintext
# Response headers for static assets (Cloudflare Workers Static Assets).
|
|
# API responses from worker/ set their own headers.
|
|
#
|
|
# CSP notes:
|
|
# - script-src: the Cloudflare Web Analytics beacon and the Turnstile widget.
|
|
# - style-src 'unsafe-inline': CodeMirror, Radix and Sonner inject styles at runtime.
|
|
# - connect-src: the analytics beacon reports to cloudflareinsights.com (or /cdn-cgi/rum).
|
|
# - frame-src: the Turnstile challenge iframe.
|
|
# - worker-src 'self': the conversion Web Worker.
|
|
/*
|
|
Content-Security-Policy: default-src 'self'; script-src 'self' https://static.cloudflareinsights.com https://challenges.cloudflare.com; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; connect-src 'self' https://cloudflareinsights.com; frame-src https://challenges.cloudflare.com; worker-src 'self'; manifest-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; upgrade-insecure-requests
|
|
Strict-Transport-Security: max-age=31536000
|
|
X-Content-Type-Options: nosniff
|
|
X-Frame-Options: DENY
|
|
Referrer-Policy: strict-origin-when-cross-origin
|
|
Permissions-Policy: accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=(), browsing-topics=()
|
|
Cross-Origin-Opener-Policy: same-origin
|
|
# HTML must revalidate so a deploy is picked up; no-transform keeps zone
|
|
# features (Rocket Loader, Email Obfuscation) from rewriting pages and
|
|
# breaking the CSP.
|
|
Cache-Control: no-cache, no-transform
|
|
|
|
# Vite's hashed bundles never change content under the same name.
|
|
/assets/*
|
|
! Cache-Control
|
|
Cache-Control: public, max-age=31536000, immutable
|