Skip to content

Commit

Permalink
Merge pull request Tencent#329 from QinZhen001/dev
Browse files Browse the repository at this point in the history
update webpack devserver option
  • Loading branch information
Maizify authored Dec 23, 2020
2 parents 46ea042 + 977e0c2 commit 9e14149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.dev.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = merge(baseConfig, {
open: true,
hot: true,
inline: true,
setup(app) {
before(app) {
app.post('*', (req, res) => {
res.redirect(req.originalUrl);
});
Expand Down

0 comments on commit 9e14149

Please sign in to comment.