expressjs / expressjs/multer

Improving the documentation a little

Open
#1,009 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
1.1k
Avg merge
8d 2h
Merged PRs (30d)
21

Description

I did some tests using Date.now () to prevent the file name from being duplicated, as the documentation suggests, and I had some problems ...
When the request to the backend is for multiple files at the same time, the name ends up being the same and this causes problems in data storage.
I ended up using the Crypto library to solve this, the ideal would be to pass a random hash so that this problem does not occur.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.