closing crypto.generateKeyPair() properly
After cloning the repository motivated by https://hacks.mozilla.org/2018/11/decentralizing-social-interactions-with-activitypub/ a syntax error on this file prevented from running the server. Closing crypto.generateKeyPair() properly seemed to prevent the error and the server seems to run properly.
This commit is contained in:
parent
e21a5e0ca1
commit
9d763d577e
1 changed files with 1 additions and 0 deletions
|
@ -69,5 +69,6 @@ router.post('/create', function (req, res) {
|
||||||
res.status(200).json({error: e});
|
res.status(200).json({error: e});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
||||||
|
|
Loading…
Reference in a new issue