mirror of
https://github.com/strapi/strapi.git
synced 2025-08-30 03:33:37 +00:00
20 lines
345 B
JavaScript
20 lines
345 B
JavaScript
![]() |
'use strict';
|
||
|
|
||
|
module.exports = {
|
||
|
session: {
|
||
|
client: 'cookie',
|
||
|
key: 'strapi.sid',
|
||
|
prefix: 'strapi:sess:',
|
||
|
ttl: 864000000,
|
||
|
rolling: false,
|
||
|
secretKeys: ['mySecretKey1', 'mySecretKey2'],
|
||
|
cookie: {
|
||
|
path: '/',
|
||
|
httpOnly: true,
|
||
|
maxAge: 864000000,
|
||
|
rewrite: true,
|
||
|
signed: false,
|
||
|
},
|
||
|
},
|
||
|
};
|