mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-13 19:22:05 +00:00
Minor bug fix
This commit is contained in:
parent
016b125f49
commit
6245dc84da
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ try {
|
|||
SALT = require(SALT_PATH);
|
||||
} catch (error) {
|
||||
SALT = crypto.randomBytes(32).toString('base64');
|
||||
fs.writeFileSync(SALT_PATH, SALT);
|
||||
fs.writeFileSync(SALT_PATH, JSON.stringify(SALT));
|
||||
}
|
||||
|
||||
function sha256(input) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue