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
yyq
7 years ago
Commit
8ab70564c739a8896505223f4778e0fa9f65c55e
1 parent
adfb1c18
change risk key
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 @
8ab7056
...
...
@@ -16,7 +16,7 @@ const _ = require('lodash');
const
limiterIpTime
=
3600
;
const
replaceKey
=
'
${refer}
'
;
const
replaceKey
=
'
__refer__
'
;
const
checkRefer
=
helpers
.
urlFormat
(
'/3party/check'
,
{
refer
:
replaceKey
});
const
forceNoCache
=
(
res
)
=>
{
...
...
package.json
View file @
8ab7056
...
...
@@ -57,7 +57,7 @@
"urlencode"
:
"^1.1.0"
,
"uuid"
:
"^2.0.2"
,
"yoho-express-session"
:
"^2.0.0"
,
"yoho-node-lib"
:
"=0.6.1
8
"
,
"yoho-node-lib"
:
"=0.6.1
9
"
,
"yoho-zookeeper"
:
"^1.0.10"
,
"yo-cli"
:
"=1.0.7"
},
...
...
Please
register
or
login
to post a comment