Stu Mason
Stu Mason

Activity

StuMason/progress
stumason.dev
TypeScript
Pull Request Opened

PR #40 opened: Enable Inertia SSR and fix OG meta tags

Summary

  • Enable Inertia SSR — builds the SSR bundle in Docker, adds a supervisor process for the Node SSR server, and uncomments the bundle path in config/inertia.php. Requires INERTIA_SSR_ENABLED=true in Coolify env after deploy.
  • Pass OG props from controllersArticleController now sends ogTitle, ogDescription, ogImage, and ogType to the Blade template so crawlers/social bots see correct metadata without needing JS execution.
  • Fix default descriptions — replaces the outdated "DORA metrics" default with the current consultancy description in app.blade.php and OgImageController.
  • Dynamic og:type — articles render as og:type=article, everything else defaults to website.

Test plan

  • All 400 tests pass locally
  • Deploy to production, set INERTIA_SSR_ENABLED=true in Coolify
  • Verify SSR process running: supervisorctl status ssr
  • Verify OG tags with curl -s https://stumason.dev/articles/<slug> | grep -i 'og:'
  • Confirm no "DORA metrics" in any OG output
  • Test social sharing preview (Facebook/Twitter debug tools)
+36
additions
-5
deletions
6
files changed