Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
2018-03-09 16:23:11 +0800
Commit
65b3327aa711f73fdfa4b5c48a294f1fcf782ea3
1 parent
761cf8ec
add dev limit
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app.js
app.js
View file @
65b3327
...
...
@@ -156,9 +156,9 @@ try {
app
.
use
(
user
());
// 请求限制中间件
//
if (!app.locals.devEnv) {
if
(
!
app
.
locals
.
devEnv
)
{
app
.
use
(
require
(
'./doraemon/middleware/limiter'
));
//
}
}
app
.
use
(
seo
());
app
.
use
(
setPageInfo
());
...
...
Please
register
or
login
to post a comment