Skip to content

Commit

Permalink
docs: demonstrate additional proxy option (vuejs#864)
Browse files Browse the repository at this point in the history
Certainly not required, but knowing the `changeOrigin` option is available straight from your docs (as opposed to http-proxy-middleware's docs) might save devs some time.
  • Loading branch information
steveperrito authored and yyx990803 committed Feb 22, 2018
1 parent 6ae22fa commit b732044
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/cli-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ module.exports = {
proxy: {
'/api': {
target: '<url>',
ws: true
ws: true,
changeOrigin: true
},
'/foo': {
target: '<other_url>'
Expand Down

0 comments on commit b732044

Please sign in to comment.