Fix: consistent hash of uploads

This commit is contained in:
Pitu 2020-05-09 23:56:35 +09:00
parent c114e59be3
commit a639b85734
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class Util {
}
static generateFileHash(data) {
const hash = crypto.createHash('sha1').update(data).digest('hex');
const hash = crypto.createHash('md5').update(data).digest('hex');
return hash;
}