Showing
3 changed files
with
3 additions
and
3 deletions
@@ -201,6 +201,6 @@ router.get('/passport/back/resetSuccess', | @@ -201,6 +201,6 @@ router.get('/passport/back/resetSuccess', | ||
201 | 201 | ||
202 | router.get('/passport/imagesNode', captcha.generate); | 202 | router.get('/passport/imagesNode', captcha.generate); |
203 | router.post('/passport/captcha/img', captcha.checkAPI); | 203 | router.post('/passport/captcha/img', captcha.checkAPI); |
204 | -router.get('/passport/images', captcha.generateQiniu); | 204 | +router.get('/passport/images.png', captcha.generateQiniu); |
205 | 205 | ||
206 | module.exports = router; | 206 | module.exports = router; |
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | var Captcha = function(container, options) { | 5 | var Captcha = function(container, options) { |
6 | var optionDefault = { | 6 | var optionDefault = { |
7 | template: require('hbs/common/captcha.hbs'), | 7 | template: require('hbs/common/captcha.hbs'), |
8 | - refreshURI: '/passport/images', | 8 | + refreshURI: '/passport/images.png', |
9 | checkURI: '/passport/captcha/img' | 9 | checkURI: '/passport/captcha/img' |
10 | }; | 10 | }; |
11 | 11 |
-
Please register or login to post a comment