rctf icon indicating copy to clipboard operation
rctf copied to clipboard

Local upload provider does not create uploads directory

Open ethanwu10 opened this issue 4 years ago • 0 comments

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:

  1. Use uploads/local upload provider
  2. Ensure that the uploads directory does not exist
  3. Start rCTF

Expected behavior No warning is logged, the directory should be created.

ethanwu10 avatar Jan 13 '21 23:01 ethanwu10