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
Plain Diff
Browse Files
Authored by
周少峰
2017-03-09 17:11:47 +0800
Commit
492fa87e76e8982d75b2a954aa552896237abbd7
2 parents
8a1dd8ba
8265b096
Merge branch 'feature/seoUrl302' of git.yoho.cn:fe/yohobuy-node into feature/seoUrl302
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
doraemon/middleware/htaccess/rules/default.js
doraemon/middleware/htaccess/rules/default.js
View file @
492fa87
...
...
@@ -10,7 +10,7 @@ const TYPE = require('../type');
module
.
exports
=
[
{
type
:
TYPE
.
redirect
,
origin
:
/
\/
about
?
shopId=
([\d]
+
)
/
,
origin
:
/
\/
about
\
?
shopId=
([\d]
+
)
/
,
target
:
(
req
,
match
,
id
)
=>
{
return
helpers
.
urlFormat
(
`
/
shop$
{
id
}
-
about
`
,
null
,
req
.
subdomains
[
0
]);
}
...
...
Please
register
or
login
to post a comment