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
郭成尧
8 years ago
Commit
4bafd43049c22ab51cbf63cbd64a994732a95bdc
1 parent
ca41dbaf
ismarstrue-del
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
doraemon/middleware/set-yoho-data.js
doraemon/middleware/set-yoho-data.js
View file @
4bafd43
...
...
@@ -57,7 +57,6 @@ module.exports = () => {
// 判断请求是否来自app
yoho
.
isMarsApp
=
/yohomars/i
.
test
(
req
.
get
(
'User-Agent'
)
||
''
);
yoho
.
isMarsApp
=
true
;
// 判断请求是否来自app
yoho
.
isApp
=
(
req
.
query
.
app_version
&&
req
.
query
.
app_version
!==
'false'
)
||
...
...
Please
register
or
login
to post a comment