mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-18 14:26:56 +00:00
17 lines
264 B
JavaScript
17 lines
264 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.RUNTIME_PATH + '/session',
|
|
}
|
|
}
|
|
} |