Skip to content

Commit

Permalink
Support filter option for full control on path matching (vuejs-templa…
Browse files Browse the repository at this point in the history
  • Loading branch information
atesgoral authored and yyx990803 committed Feb 3, 2017
1 parent 097f268 commit 1ecd9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/build/dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Object.keys(proxyTable).forEach(function (context) {
if (typeof options === 'string') {
options = { target: options }
}
app.use(proxyMiddleware(context, options))
app.use(proxyMiddleware(options.filter || context, options))
})

// handle fallback for HTML5 history API
Expand Down

0 comments on commit 1ecd9a7

Please sign in to comment.