forked from hippoz/brainlet
remove legacy code
This commit is contained in:
parent
81a08101e9
commit
fb18dae0a8
1 changed files with 0 additions and 7 deletions
|
@ -1,10 +1,3 @@
|
|||
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: secret: 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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue