This repository was archived by the owner on Feb 4, 2025. It is now read-only.
This repository was archived by the owner on Feb 4, 2025. It is now read-only.
Local upload provider does not create uploads directory #551
Open
Description
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/local
upload provider - Ensure that the uploads directory does not exist
- Start rCTF
Expected behavior
No warning is logged, the directory should be created.