fix: department page SSR crash rendering empty body on hard reload

- Remove this. prefix from template expression in Departments/Show.vue
  (ssrRender this is undefined in strict ESM)
- Register helpers mixin in ssr.js for parity with app.js
- SafeSsrGateway: fallback to client-side render when SSR returns
  empty body or server unavailable
- Jenkins: start SSR server in background, add health check
This commit is contained in:
F4ilji
2026-10-22 12:33:20 +05:00
parent d6a55ddfbc
commit dbac7989a7
6 changed files with 107 additions and 3 deletions
Vendored
+3 -1
View File
@@ -129,7 +129,9 @@ pipeline {
sleep 5
docker exec ntspi-php php artisan inertia:stop-ssr || true
sleep 2
docker exec ntspi-php php artisan inertia:start-ssr || true
docker exec -d ntspi-php sh -c "php artisan inertia:start-ssr > /tmp/ssr-server.log 2>&1"
sleep 3
docker exec ntspi-php php artisan inertia:check-ssr || true
'''
}
}