Commit 668fc945 by caoyanzhi

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

parents 6bf7296b 5e7828b2
......@@ -43,8 +43,8 @@ const devWebpackConfig = merge(baseWebpackConfig, {
watchOptions: {
poll: config.dev.poll,
},
before(app, server) {
app.get(/^(?!\/haoban-3).*$/, (req, res) => {
before(app) {
app.get('/', (req, res) => {
res.redirect('/haoban-3/');
})
},
......
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