diff --git a/aidlc-docs/features/andreaslop-site-hosting/audit.md b/aidlc-docs/features/andreaslop-site-hosting/audit.md index c510ab1..cf31cf4 100644 --- a/aidlc-docs/features/andreaslop-site-hosting/audit.md +++ b/aidlc-docs/features/andreaslop-site-hosting/audit.md @@ -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.