port is getting added at the Downstream url. i want to access a micro service hosted in heroku. need to avoid port. Please help.
Its working in local dev environment. But not working after deployment in Heroku.
{
"ReRoutes": [
{
"DownstreamPathTemplate": "/api/{catchAll}",
"DownstreamScheme": "https",
"DownstreamHostAndPorts": [
{
"Host": "catalogapi-pinaki.herokuapp.com"
}
],
"UpstreamPathTemplate": "/cat-logApi/{catchAll}"
}
],
"GlobalConfiguration": {
"BaseUrl": "http://localhost"
}
}
The Downstream Url should be "https://catalogapi-pinaki.herokuapp.com/api/CatalogApi/GetAllItems".
Error: message: Downstream url is https://catalogapi-pinaki.herokuapp.com:56084/api/CatalogApi/GetAllItems