Skip to content

Commit b732044

Browse files
steveperritoyyx990803
authored andcommitted
docs: demonstrate additional proxy option (#864)
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.
1 parent 6ae22fa commit b732044

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/cli-service.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ module.exports = {
8383
proxy: {
8484
'/api': {
8585
target: '<url>',
86-
ws: true
86+
ws: true,
87+
changeOrigin: true
8788
},
8889
'/foo': {
8990
target: '<other_url>'

0 commit comments

Comments
 (0)