diff --git a/backend/pkg/web/handler/cors_proxy.go b/backend/pkg/web/handler/cors_proxy.go index 2eee5e12..aea0297b 100644 --- a/backend/pkg/web/handler/cors_proxy.go +++ b/backend/pkg/web/handler/cors_proxy.go @@ -69,6 +69,7 @@ func CORSProxy(c *gin.Context) { req.URL.Host = remote.Host log.Printf(c.Param("proxyPath")) req.URL.Path = remote.Path + req.Body = c.Request.Body //TODO: throw an error if the remote.Host is not allowed }