mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
17 lines
280 B
JavaScript
17 lines
280 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
name: 'thinkjs',
|
|
type: 'file',
|
|
secret: '<SECRET>',
|
|
timeout: 24 * 3600,
|
|
cookie: { // cookie options
|
|
length: 32,
|
|
httponly: true
|
|
},
|
|
adapter: {
|
|
file: {
|
|
path: think.getPath('common', 'runtime') + '/session',
|
|
}
|
|
}
|
|
} |