Authored by htoooth

fix router

... ... @@ -201,6 +201,6 @@ router.get('/passport/back/resetSuccess',
router.get('/passport/imagesNode', captcha.generate);
router.post('/passport/captcha/img', captcha.checkAPI);
router.get('/passport/images', captcha.generateQiniu);
router.get('/passport/images.png', captcha.generateQiniu);
module.exports = router;
... ...
{
"name": "yohobuy-node",
"version": "5.4.23",
"version": "5.4.24",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -5,7 +5,7 @@
var Captcha = function(container, options) {
var optionDefault = {
template: require('hbs/common/captcha.hbs'),
refreshURI: '/passport/images',
refreshURI: '/passport/images.png',
checkURI: '/passport/captcha/img'
};
... ...