From 3a58c74457b33047d3a1b3b128c4bdb2471b4e2b Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 28 Feb 2024 14:50:28 -0800 Subject: [PATCH] session config, more --- conf.d/http.yml | 2 +- lib/user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }