Commit 4d6ebd8b by caoyanzhi

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

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