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
lijing
2017-01-13 10:42:39 +0800
Commit
77cc7bb8cc412054be36bb152b6036aa58bb4ffe
1 parent
13ba177f
微信认证页,不允许分享
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/passport/controllers/bind.js
apps/passport/controllers/bind.js
View file @
77cc7bb
...
...
@@ -22,7 +22,7 @@ const Sources = {
const
bind
=
{
indexPage
:
(
req
,
res
)
=>
{
// 如果没有
//m.yohobuy.com
,判定为非法链接
// 如果没有
originalUrl
,判定为非法链接
if
(
req
.
session
.
originalUrl
!==
'true'
)
{
res
.
redirect
(
'//m.yohobuy.com'
);
}
...
...
Please
register
or
login
to post a comment