rctf
rctf copied to clipboard
Local upload provider does not create uploads directory
Describe the bug
If the local upload provider's uploadDirectory does not exist, it is not automatically created on startup and causes a WARN-level log from fastify-static complaining that the root does not exist.
To Reproduce Steps to reproduce the behavior:
- Use
uploads/localupload provider - Ensure that the uploads directory does not exist
- Start rCTF
Expected behavior No warning is logged, the directory should be created.