mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
Update deps 3 (#5624)
* optimize code * update deps * optimize code * optimize code * optimize code * optimize code * repair code bug
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
const { createHash } = require('crypto');
|
||||
|
||||
module.exports = env => {
|
||||
const hash = createHash('md5');
|
||||
hash.update(JSON.stringify(env));
|
||||
|
||||
return hash.digest('hex');
|
||||
};
|
Reference in New Issue
Block a user