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
Plain Diff
Browse Files
Authored by
陈峰
2018-07-11 16:08:41 +0800
Commit
b4bc9e0edfd238b44276c57951bc459c1c73721a
2 parents
855b5b72
8699be4a
Merge branch 'release/0711' into 'gray'
Release/0711 See merge request
!1472
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
doraemon/middleware/error-handler.js
package.json
doraemon/middleware/error-handler.js
View file @
b4bc9e0
...
...
@@ -14,7 +14,7 @@ const pathWhiteList = require('./limiter/rules/path-white-list');
const
ipWhiteList
=
require
(
'./limiter/rules/ip-white-list'
);
const
_
=
require
(
'lodash'
);
const
replaceKey
=
'
${refer}
'
;
const
replaceKey
=
'
__refer__
'
;
const
checkRefer
=
helpers
.
urlFormat
(
'/3party/check'
,
{
refer
:
replaceKey
});
const
forceNoCache
=
(
res
)
=>
{
...
...
package.json
View file @
b4bc9e0
...
...
@@ -87,7 +87,7 @@
"xml2js"
:
"^0.4.19"
,
"yoho-express-session"
:
"^2.0.0"
,
"yoho-md5"
:
"^2.0.0"
,
"yoho-node-lib"
:
"=0.6.1
8
"
,
"yoho-node-lib"
:
"=0.6.1
9
"
,
"yoho-zookeeper"
:
"^1.0.10"
},
"devDependencies"
:
{
...
...
Please
register
or
login
to post a comment