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-11-28 17:50:22 +0800
Commit
cc98781261b90e6e6dba5201fd79e40e98a63c53
1 parent
4c32d55a
boy
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
doraemon/middleware/url-rewrite.js
doraemon/middleware/url-rewrite.js
View file @
cc98781
...
...
@@ -71,7 +71,7 @@ module.exports = () => {
req
.
url
=
`
/
product
/
$
{
req
.
url
}
`
;
}
if
(
/^
\/
boy-new/
.
test
(
req
.
url
))
{
if
(
/^
\/
boy
s
-new/
.
test
(
req
.
url
))
{
req
.
url
=
'/product/boys-new/'
;
}
...
...
Please
register
or
login
to post a comment