Skip to content

Commit

Permalink
session config, more
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Feb 28, 2024
1 parent e73c943 commit 3a58c74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf.d/http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ default:
isHttpOnly: true
keepAlive: false
# redirectTo:
# group: NicTool
group: NicTool

production:
port: 8080
Expand Down
2 changes: 1 addition & 1 deletion lib/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 3a58c74

Please sign in to comment.