Files
library/api/src/app/plugins
hikari e6b6131134 fix: allow static assets to be served correctly
Fixed the not-found handler to exclude /assets routes, allowing static assets
like images to be served with correct MIME types instead of being caught by
the SPA fallback handler.

Changes:
- Updated setNotFoundHandler to check for /assets prefix
- Assets are now served directly by fastify-static with correct content-type
- Only non-API, non-asset routes fall through to index.html

This fixes the default cover image not displaying because it was being served
as text/html instead of image/jpeg.

Co-Authored-By: Naomi Carrigan <commits@nhcarrigan.com>
2026-02-20 19:45:37 -08:00
..
2026-02-04 16:48:08 -08:00
2026-02-04 16:48:08 -08:00
2026-02-04 08:04:46 -08:00