Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
2016-10-26 09:49:59 +0800
Commit
9977f934479910b367801f988af1fd242e9b8e50
1 parent
f1df7423
删除频道页node的缓存时间
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/channel/controllers/index.js
apps/channel/controllers/index.js
View file @
9977f93
...
...
@@ -76,7 +76,7 @@ let switchChannel = (req, res, next) => {
}
// 设置浏览器缓存5分钟 300000ms
res
.
set
(
'Expires'
,
(
new
Date
(
_
.
now
()
+
300000
)).
toGMTString
());
//
res.set('Expires', (new Date(_.now() + 300000)).toGMTString());
next
();
};
...
...
Please
register
or
login
to post a comment