Prerequisites
🚀 Feature Proposal
Hey, would it be possible to surpress or modify (preferably) the warning that gets logged, when one of the root directories from the config does not exist, such as:
"root" path "..." must exist
I want to set my own message when this occurs. Would it make sense? If so, I can create a PR for this feature.
Motivation
No response
Example
I am imagining something in the lines of:
fastify.register(fastifyStatic, {
root: './static',
getPathNotFoundWarning: (path) => `"root" path "${path}" must exist`,
});