chetanmeh commented on a change in pull request #347: Enable overriding the
backend url to enable standalone mode
URL:
https://github.com/apache/incubator-openwhisk-apigateway/pull/347#discussion_r308162535
##########
File path: scripts/lua/policies/backendRouting.lua
##########
@@ -39,6 +40,11 @@ function _M.setRoute(backendUrl, gatewayPath)
ngx.req.set_uri(getUriPath(u.path))
end
ngx.var.backendUrl = backendUrl
Review comment:
Changed the `ngx.var` also
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services