Compare commits
No commits in common. "50a3564fd407a648072921c24c7db969a82a4d42" and "a47d938b7e98dbe5e341b6e1d5efca00c4827448" have entirely different histories.
50a3564fd4
...
a47d938b7e
1 changed files with 0 additions and 10 deletions
|
@ -1,10 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
jwtPrivateKey: "KEY"
|
|
||||||
};
|
|
||||||
|
|
||||||
// Set default values
|
|
||||||
// You shouldn't need to touch this for configuring this
|
|
||||||
if (module.exports.jwtPrivateKey === "KEY") {
|
|
||||||
console.error("[*] [config] jwtPrivateKey was not specified in secret.js. A randomly generated private key will be used instead");
|
|
||||||
module.exports.jwtPrivateKey = require("crypto").randomBytes(129).toString("base64");
|
|
||||||
}
|
|
Reference in a new issue