Skip to content

Commit

Permalink
Add proxy for /_upload
Browse files Browse the repository at this point in the history
  • Loading branch information
william-gr committed May 14, 2018
1 parent a92ac2f commit d09a263
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions proxy.config.json.skel
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,12 @@
"changeOrigin": true,
"pathRewrite": {"^/api" : "http://$SERVER$/api"},
"loglevel": "debug"
},
"/_upload": {
"target": "http://$SERVER$",
"secure": false,
"changeOrigin": true,
"pathRewrite": {"^/_upload" : "http://$SERVER$/_upload"},
"loglevel": "debug"
}
}

0 comments on commit d09a263

Please sign in to comment.