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
李靖
2017-07-14 10:42:14 +0800
Commit
f3bdf0d976ded7bd12d9358933b999fce659d704
1 parent
8e57f235
隐藏下载app
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
doraemon/middleware/download-bar.js
doraemon/middleware/download-bar.js
View file @
f3bdf0d
...
...
@@ -23,6 +23,9 @@ module.exports = () => {
if
(
req
.
query
.
nogoback
||
req
.
cookies
.
nogoback
)
{
res
.
locals
.
nogoback
=
true
;
}
if
(
req
.
yoho
.
isMarsApp
)
{
res
.
locals
.
nodownload
=
true
;
}
next
();
};
...
...
Please
register
or
login
to post a comment