Updated all routes (#12)

This commit is contained in:
2023-01-19 10:41:12 -05:00
committed by GitHub
parent eabb8199dc
commit ec9092abf3
6 changed files with 105 additions and 99 deletions

View File

@@ -17,12 +17,16 @@ config.mail.pass = "password";
config.mail.from = "name";
/*
* Session purge settings
* Session settings
*/
// Maximum session length in days
config.maxSessionLength = 1;
config.maxRefreshLength = 360;
// Session string character length
config.sessionCharacterLength = 25;
config.refreshChracterLength = 60;
/*
* SSL settings
*/
@@ -49,5 +53,4 @@ config.http.port = 8080;
config.db = {}
config.db.connection = 'mongodb://localhost:27017/kno-logic';
module.exports = config;