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
8eddb529ec1696cc95ac93de767e490204eac586
1 parent
2b71be7d
店铺改成new连接地址
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
doraemon/middleware/sub-domain.js
doraemon/middleware/sub-domain.js
View file @
8eddb52
...
...
@@ -81,7 +81,7 @@ module.exports = () => {
req
.
query
=
Object
.
assign
(
req
.
query
,
{
domain
:
req
.
subdomains
[
0
]
});
req
.
url
=
`
/
product
/
index
/
brand
?
$
{
querystring
.
stringify
(
req
.
query
)}
`
;
req
.
url
=
`
/
product
/
new
/brand
?
${querystring.stringify
(
req.query
)
}`
;
}
break
;
}
...
...
Please
register
or
login
to post a comment