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
Plain Diff
Browse Files
Authored by
毕凯
2017-11-28 17:55:36 +0800
Commit
a4cb8624ffd4762b225b0887227046dddf4b963d
2 parents
179041e4
cc987812
Merge remote-tracking branch 'origin/feature/newSeo' into gray
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 @
a4cb862
...
...
@@ -77,7 +77,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