The Worker connected to ytgenerator.stream was serving a build made for the
GitHub Pages sub-path: index.html asked for /youtube-generator/assets/*.js, the
SPA fallback answered every one of those with index.html, and the site loaded
blank. Both builds are now served from `/`.
- vite.config.ts: base "/" for web and Tauri alike.
- wrangler.jsonc: the one Cloudflare file in the repo. Assets-only for now
(dist/, SPA fallback, custom domain declared so `wrangler deploy` never
detaches it, workers.dev off, build.command runs `npm run build`).
- public/_headers: CSP, nosniff, Referrer-Policy, Permissions-Policy, COOP,
X-Frame-Options; immutable caching for hashed /assets/*. No HSTS - the
zone edge already sends it with preload.
- index.html, manifest, robots, sitemap: canonical/OG/JSON-LD on the new
domain, pt-BR and id added to the locale metadata, Android listed.
- Brand: one SVG source in assets/brand/ now drives the favicon, the PWA
icons (192/512/maskable), apple-touch-icon, a 1200x630 link-preview card
and every Tauri desktop/Android/iOS icon. The desktop and Android apps had
been shipping a flat indigo placeholder square; manifest and index.html
pointed at four PNGs that did not exist. `npm run generate:brand`
re-renders the web images; the Android adaptive icon gets a glyph-only
foreground on the brand colour instead of a tile on a white disc.
- deploy-web.yml and notify-deploy.yml removed, .nojekyll dropped. The last
Pages deployment stays online untouched until the data-migration page
replaces it.
- .node-version pins Node 22 for Workers Builds; wrangler, @tauri-apps/cli
and @resvg/resvg-js are pinned dev dependencies (`npm run cf:dev`,
`npm run cf:check` for a dry-run deploy).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>