Log herdeploy na uitnodigingslink-fix (run 612)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-08 13:24:03 +01:00
co-authored by Claude Sonnet 5.5
parent 0908f42213
commit 6c33a7ce36
@@ -470,3 +470,7 @@
**Found by**: Bryan; analysed with CMS & API.
**Root cause**: the API returns an app-relative path (`/invite/complete?token=...`); the frontend built the shown/copied URL as `origin + inviteLink` in InviteUserDialog (2x) and UsersPage, ignoring the router basepath (`/admin/` in builds). On ASF the root is the prerendered website, so the link hit its 404 page; SlpSoftware only worked through its root SPA fallback.
**Fix** (frontend only; API contract and shared Identity unchanged, SlpSoftware unaffected, already-issued links keep working there): `lib/links.ts buildAppUrl = origin + BASE_URL (no trailing slash) + path`, used in the 3 places. Tests: helper (prod/dev base, trailing slashes, missing leading slash, no double slash, encoded token), dialog link value. Frontend 304 tests green.
## Redeploy after the invitation-link fix
**Timestamp**: 2026-11-08
**Run**: 612 (dispatch, deploy_asf_test only), head 0908f42, all gates and deploy-asf-test green. Live: /health version 1.0.0+0908f42; /admin/invite/complete?token=x 200 text/html (SPA); old /invite/complete?token=x on ASF 404 website page (acceptable); /admin/ and favicon unchanged.