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
8 years ago
Commit
8265b0960c656db53280b8b9fae88e9effd8254b
1 parent
31b19006
shop about
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 @
8265b09
...
...
@@ -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