lilith-platform.live/codebase/@features/provider-website
Emergency Fix a4734ac5e1 fix(provider-website): 🐛 route illustration + API gallery photos through rewritePhotoSrc
Emergency fix for prod: transquinnftw.com was returning 404 on every
gallery image and every page illustration because several code paths
built /photos/<original>.<ext> URLs directly, bypassing the content-hash
rewriter. dist/photos/ only holds hashed filenames after build, so every
non-rewritten request hit /etc/nginx/errors/404.html.

- PageIllustration, DuosPage, DestinationsPage, SpecialtiesPage now pull
  rewritePhotoSrc from useProviderConfig and apply it to every illustration
  <img>/PhotoImage src + webpSrc.
- useProviderData applies applyPhotoRewrite to the live /provider-api/api/data
  response before setData, so API-provided DB filenames are rewritten to the
  deployment's hashed names (for both gallery and shop listings).
2026-04-08 09:34:40 -07:00
..
backend-api test(provider-website): Add comprehensive test coverage for provider-website backend API endpoints and edge cases 2026-04-07 03:59:49 -07:00
data-api feat(data-api): Add new serialization methods for provider-website data processing or optimize server-side data handlers 2026-04-07 03:59:49 -07:00
frontend-public fix(provider-website): 🐛 route illustration + API gallery photos through rewritePhotoSrc 2026-04-08 09:34:40 -07:00
shared/src refactor(provider-website): ♻️ Standardize slug generation and validation logic in slugs.ts by unifying input sanitization and output normalization 2026-04-07 15:21:59 -07:00