Showing
2 changed files
with
4 additions
and
4 deletions
@@ -114,7 +114,7 @@ class SmsLogin { | @@ -114,7 +114,7 @@ class SmsLogin { | ||
114 | 114 | ||
115 | 115 | ||
116 | if (!req.xhr || step !== 2) { | 116 | if (!req.xhr || step !== 2) { |
117 | - return next(404); | 117 | + return next(); |
118 | } | 118 | } |
119 | 119 | ||
120 | let now = Date.now(); | 120 | let now = Date.now(); |
@@ -182,7 +182,7 @@ class SmsLogin { | @@ -182,7 +182,7 @@ class SmsLogin { | ||
182 | let step = _.get(req.session, 'smsLogin.step'); | 182 | let step = _.get(req.session, 'smsLogin.step'); |
183 | 183 | ||
184 | if (!req.xhr && step !== 2) { | 184 | if (!req.xhr && step !== 2) { |
185 | - return next(404); | 185 | + return next(); |
186 | } | 186 | } |
187 | 187 | ||
188 | if (!code) { | 188 | if (!code) { |
@@ -11,8 +11,8 @@ const isProduction = process.env.NODE_ENV === 'production'; | @@ -11,8 +11,8 @@ const isProduction = process.env.NODE_ENV === 'production'; | ||
11 | const isTest = process.env.NODE_ENV === 'test'; | 11 | const isTest = process.env.NODE_ENV === 'test'; |
12 | 12 | ||
13 | const domains = { | 13 | const domains = { |
14 | - api: 'http://api.yoho.cn/', | ||
15 | - service: 'http://service.yoho.cn/', | 14 | + api: 'http://api.yoho.yohoops.org/', |
15 | + service: 'http://service.yoho.yohoops.org/', | ||
16 | liveApi: 'http://testapi.live.yohops.com:9999/', | 16 | liveApi: 'http://testapi.live.yohops.com:9999/', |
17 | singleApi: 'http://api-test3.yohops.com:9999/', | 17 | singleApi: 'http://api-test3.yohops.com:9999/', |
18 | imSocket: 'ws://socket.yohobuy.com:10240', | 18 | imSocket: 'ws://socket.yohobuy.com:10240', |
-
Please register or login to post a comment