generated from nhcarrigan/template
e6b6131134
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>