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
yyq
7 years ago
Commit
852df1ddeb0f409923f3ddf31b66253c0c252913
1 parent
6e32eb88
fix sitemap
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/3party/controllers/sitemap.js
apps/3party/controllers/sitemap.js
View file @
852df1d
...
...
@@ -116,7 +116,7 @@ const siteMap = (req, res, next) => {
let
siteList
=
[
'm'
,
'list'
,
'item'
,
'guang'
],
subdomain
=
req
.
subdomains
[
1
]
||
'm'
;
if
(
_
.
find
(
siteList
,
subdomain
)
)
{
if
(
_
.
indexOf
(
siteList
,
subdomain
)
<
0
)
{
res
.
end
(
'end'
);
return
;
}
...
...
Please
register
or
login
to post a comment