Skip to content

Commit

Permalink
Make package.json#proxy proxy all /api requests (jaegertracing#141)
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Farro <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
  • Loading branch information
tiffon authored and yurishkuro committed Dec 19, 2017
1 parent e5b45c8 commit 4497623
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@
"version": "0.0.1",
"main": "src/index.js",
"license": "MIT",
"proxy": "http://localhost:16686",
"proxy": {
"/api": {
"target": "http://localhost:16686",
"logLevel": "silent",
"secure": false,
"changeOrigin": true,
"ws": true,
"xfwd": true
}
},
"homepage": null,
"devDependencies": {
"babel-eslint": "^7.2.3",
Expand Down

0 comments on commit 4497623

Please sign in to comment.