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
I just want to use the sendFile decorator without serving any files automatically, so I set serve: false. However, I still need to provide a valid path to root, otherwise checkRootPathForErrors complains. Now I resort to creating a dummy directory in tmpdir() just to keep this plugin happy, which seems a bit silly.
I think if serve: false is defined, checkRootPathForErrors should not be called at all.
Motivation
No response
Example
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
🚀 Feature Proposal
I just want to use the
sendFile
decorator without serving any files automatically, so I setserve: false
. However, I still need to provide a valid path toroot
, otherwisecheckRootPathForErrors
complains. Now I resort to creating a dummy directory in tmpdir() just to keep this plugin happy, which seems a bit silly.I think if
serve: false
is defined,checkRootPathForErrors
should not be called at all.Motivation
No response
Example
No response
The text was updated successfully, but these errors were encountered: