tus-node-server
tus-node-server copied to clipboard
Replace configstore with plain json files in upload path
configstore does a few things that are problematic:
- writes a file outside upload directory and with permissions so that group can't read/write
- file infos are never removed so it just grows larger
Moving to plain json file per upload in the upload directory enables you to clean the directory periodically of old files without disturbing in progress uploads. Same method that tusd uses.