You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the feature has not already been requested
🚀 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`,});