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
2017-12-13 14:41:05 +0800
Commit
670904c74b4d3b23e1a8e511e137c24089b65c8c
1 parent
01108894
lint
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
doraemon/middleware/mobile-refer.js
doraemon/middleware/mobile-refer.js
View file @
670904c
...
...
@@ -40,6 +40,7 @@ module.exports = () => {
return
(
req
,
res
,
next
)
=>
{
let
domain
=
'm.yohobuy.com'
;
let
proRegNew
=
/^
\/
product
\/([\d]
+
)
.html
(
.*
)
/
;
if
(
!
req
.
xhr
)
{
let
url
=
_
.
head
(
_
.
split
(
req
.
url
,
'?'
));
let
data
=
{};
...
...
Please
register
or
login
to post a comment