File server for jungles
Express app with two endpoints to store and serve files.
appuse'/files' require'jungles-files'__dirname + '/media'; // Param: directory to store the files
Expects req.body.file to be a data url. It will rename the file to uuid.extension, store the file in the directory and response with:
Returns the file.