Skip to content

v1.1.2

Latest

Choose a tag to compare

@maxoem maxoem released this 19 Nov 11:40

What's Changed

SEO, Static Pre-Rendering & Routing

  • Build-Time Pre-Rendering (scripts/prerender.ts, src/entry-server.tsx): Added an SSR entry point and Vite pre-render step (pnpm run build) that generates static HTML for all sitemap routes (18 routes, including decks and stacks), with per-route <html lang="en|de"> attributes and safe in-memory Web Storage shims during Node SSR (b89c156).
  • Per-Page Metadata & Structured Data (src/components/Seo.tsx): Added canonical URLs, Open Graph/Twitter meta tags, language attributes, and JSON-LD structured data (SoftwareApplication, FAQPage, etc.) across all pages, plus crawlable overview/FAQ sections on / (JsonToApkg).
  • Route Consolidation & 404 Handling (src/App.tsx, src/pages/NotFound.tsx): Consolidated legacy routes (/json-to-apkg, /refurbish, /open-access) with redirects and added a dedicated NotFound page.

Runtime Hosting & Nginx Hardening

  • Runtime HTML & SEO Injection (40-runtime-config.sh, nginx.conf): Updated the container entrypoint to inject runtime SITE_URL and analytics scripts across all pre-rendered .html files in /tmp/html.
  • Nginx Security & Redirects (nginx.conf): Added 301 redirects for legacy routes, prevented port/absolute redirect leaks, routed HTML serving through /tmp/html, and preserved security headers.

Fixes

  • SSR Safety (src/hooks/useDeckWorkspace.ts, src/components/OnboardingModal.tsx, scripts/prerender.ts): Guarded localStorage and bot-detection checks during server-side rendering so pre-rendering runs cleanly in Node without browser storage globals.
  • Nginx Update: Updating unprivileged nginx to latest