diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-05-22 11:43:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-22 11:43:17 +0100 |
commit | fe82e1f7255c05e0bc7a7872a53cf2a1a78ffaa0 (patch) | |
tree | 84661722411a9098f1925d2a5192e4c40d0a1122 /cmd/federation-api-proxy | |
parent | f223da2f35e690e80c6e3d8c1050f0984ab33a2f (diff) |
Separate muxes for public and internal APIs (#1056)
* Separate muxes for public and internal APIs
* Update client-api-proxy and federation-api-proxy so they don't add /api to the path
* Tidy up
* Consistent HTTP setup
* Set up prefixes properly
Diffstat (limited to 'cmd/federation-api-proxy')
-rw-r--r-- | cmd/federation-api-proxy/main.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/federation-api-proxy/main.go b/cmd/federation-api-proxy/main.go index fa90482d..7324de14 100644 --- a/cmd/federation-api-proxy/main.go +++ b/cmd/federation-api-proxy/main.go @@ -73,7 +73,6 @@ func makeProxy(targetURL string) (*httputil.ReverseProxy, error) { // Pratically this means that any distinction between '%2F' and '/' // in the URL will be lost by the time it reaches the target. path := req.URL.Path - path = "api" + path log.WithFields(log.Fields{ "path": path, "url": targetURL, |