Authored by 周少峰

up version add erp2goods

... ... @@ -68,5 +68,19 @@ module.exports = [
'www'
);
}
},
// erp2good
{
type: TYPE.rewrite,
origin: (req) => {
console.log(req.path);
return req.path === '/erp2goods'
},
target: '/common/erp2goods'
},
{
type: TYPE.redirect,
origin: '/index.html',
target: helpers.urlFormat('/')
}
];
... ...
{
"name": "yohobuy-node",
"version": "5.5.18",
"version": "5.5.22",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...