Plugin for serving static files as fast as possible

fastify fastify-plugin file-server static
1 Open Issue Need Help Last updated: Sep 22, 2025

Open Issues Need Help

View All on GitHub

AI Summary: The user wants to use a `sendFile` decorator with `serve: false` to prevent automatic file serving. Currently, the `root` path is still mandatory and validated, forcing a workaround of creating a dummy directory. The proposal is to make `root` optional and skip its validation when `serve: false` is configured.

Complexity: 1/5
good first issue

Plugin for serving static files as fast as possible

JavaScript
#fastify#fastify-plugin#file-server#static