stumason.dev
TypeScript
Pull Request Merged
PR #40 merged: 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. RequiresINERTIA_SSR_ENABLED=truein Coolify env after deploy. - Pass OG props from controllers —
ArticleControllernow sendsogTitle,ogDescription,ogImage, andogTypeto 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.phpandOgImageController. - Dynamic
og:type— articles render asog:type=article, everything else defaults towebsite.
Test plan
- All 400 tests pass locally
- Deploy to production, set
INERTIA_SSR_ENABLED=truein 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