Commit 39d46418 by caoyanzhi

update: 调整devServer配置

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