|
@@ -77,7 +77,7 @@ module.exports = merge(common, {
|
|
|
|
|
|
mode: 'production',
|
|
|
output: {
|
|
|
- publicPath:'http://cld2.com:9090/',
|
|
|
+ publicPath: 'http://cld2.com:9090/',
|
|
|
filename: 'nodejs/[name].[hash].bundle.js',
|
|
|
},
|
|
|
mode: 'development',
|
|
@@ -101,13 +101,28 @@ module.exports = merge(common, {
|
|
|
historyApiFallback: {
|
|
|
rewrites: [
|
|
|
{
|
|
|
- // from: /^\/company/, to: '/',
|
|
|
- // from: /^\/product\/lockStatistics/, to: '/product',
|
|
|
- from: /^\/product/, to: '/product',
|
|
|
- from: /^\/product\/lockCount/, to: '/product',
|
|
|
- //客户相关
|
|
|
- from: /^\/contact/, to: '/contact',
|
|
|
- from: /^\/contact\/company/, to: '/contact',
|
|
|
+ // from: /\/hr/, to: '/hr',
|
|
|
+ // from: /\/hr\/indof/, to: '/hr',
|
|
|
+ from: '/contact', to: '/contact',
|
|
|
+
|
|
|
+ //from: /^\/contact\/company/, to: '/contact',
|
|
|
+ //from: /^\/product/, to: '/product',
|
|
|
+
|
|
|
+ //from: /^\/product\/lockCount/, to: '/product',
|
|
|
+ //from: /product/, to: '/product',
|
|
|
+ //from: /product\/lockCount/, to: '/product',
|
|
|
+
|
|
|
+ // from: /^\/wo\/wo/, to: '/',
|
|
|
+
|
|
|
+ // from: /^\/contact/, to: '/contact',
|
|
|
+ // from: /^\/contact\/company/, to: '/contact',
|
|
|
+ // from: /^\/product/, to: '/product',
|
|
|
+ // from: /^\/product\/company/, to: '/product',
|
|
|
+
|
|
|
+ // from: /^\/product\/hr/, to: '/hr',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ from: '/product', to: '/product',
|
|
|
},
|
|
|
]
|
|
|
}
|