Commit 45db741d by caoyanzhi

Merge branch 'feature/打包调整' into dev

parents d504f0f1 8c112f2c
......@@ -43,8 +43,8 @@ const devWebpackConfig = merge(baseWebpackConfig, {
watchOptions: {
poll: config.dev.poll,
},
before(app, server) {
app.get(/^(?!\/integral-mall).*$/, (req, res) => {
before(app) {
app.get('/', (req, res) => {
res.redirect('/integral-mall/');
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment