...
|
...
|
@@ -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('/')
|
|
|
}
|
|
|
]; |
...
|
...
|
|