diff --git a/conf.d/http.yml b/conf.d/http.yml index 45f4739..c16f85f 100644 --- a/conf.d/http.yml +++ b/conf.d/http.yml @@ -15,7 +15,7 @@ default: isHttpOnly: true keepAlive: false # redirectTo: - # group: NicTool + group: NicTool production: port: 8080 diff --git a/lib/user.js b/lib/user.js index 11340e3..7b621f9 100644 --- a/lib/user.js +++ b/lib/user.js @@ -9,7 +9,7 @@ const userDbMap = { id: 'nt_user_id', gid: 'nt_group_id' } class User { constructor(args = {}) { this.debug = args?.debug ?? false - this.cfg = Config.getSync('session') + this.cfg = Config.getSync('http') this.mysql = Mysql }