Commit d6a0201e by caoyanzhi

update: 调整devServer配置

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