Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pisns-forum-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
scrmGroup
pisns-forum-api
Commits
965f98d3
Commit
965f98d3
authored
Oct 08, 2015
by
strong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缩短session超时时间
parent
fc3c8fd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
express.js
config/express.js
+2
-2
No files found.
config/express.js
View file @
965f98d3
...
@@ -38,7 +38,7 @@ module.exports = function(app, config) {
...
@@ -38,7 +38,7 @@ module.exports = function(app, config) {
port
:
config
.
sessionStore
.
port
,
port
:
config
.
sessionStore
.
port
,
prefix
:
'node-session-'
,
prefix
:
'node-session-'
,
pass
:
config
.
sessionStore
.
password
,
pass
:
config
.
sessionStore
.
password
,
ttl
:
864
00
ttl
:
180
00
}),
}),
secret
:
'ogoz1t5Zm91rAUeld64d5Wqli10g'
,
secret
:
'ogoz1t5Zm91rAUeld64d5Wqli10g'
,
name
:
'JSESSIONID'
,
name
:
'JSESSIONID'
,
...
@@ -46,7 +46,7 @@ module.exports = function(app, config) {
...
@@ -46,7 +46,7 @@ module.exports = function(app, config) {
path
:
'/'
,
path
:
'/'
,
httpOnly
:
true
,
httpOnly
:
true
,
secure
:
false
,
secure
:
false
,
maxAge
:
863
00000
maxAge
:
179
00000
},
},
resave
:
true
,
resave
:
true
,
saveUninitialized
:
true
saveUninitialized
:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment