Update port configuration in ocelot.Development.json

Changed the `Port` number for `DownstreamHostAndPorts` from `7174` to `8088` across multiple route definitions. Updated `DownstreamPathTemplate` and `UpstreamPathTemplate` for paths including `/swagger/{route}`, `/scalar`, and `/api/{route}`. Corrected the `UpstreamPathTemplate` for `/api/{route}/{id}` by removing an unnecessary slash before `{id}`.
This commit is contained in:
Developer 02 2025-05-09 23:19:23 +02:00
parent 6be3d5373a
commit 5f21002e4f

View File

@ -6,7 +6,7 @@
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7174
"Port": 8088
}
],
"UpstreamPathTemplate": "/swagger/{route}",
@ -23,7 +23,7 @@
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7174
"Port": 8088
}
],
"UpstreamPathTemplate": "/swagger/{route1}/{route2}",
@ -40,7 +40,7 @@
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7174
"Port": 8088
}
],
"UpstreamPathTemplate": "/scalar",
@ -57,7 +57,7 @@
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7174
"Port": 8088
}
],
"UpstreamPathTemplate": "/scalar/{route}",
@ -74,7 +74,7 @@
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7174
"Port": 8088
}
],
"UpstreamPathTemplate": "/scalar/{route1}/{route2}",
@ -127,7 +127,7 @@
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7174
"Port": 8088
}
],
"UpstreamPathTemplate": "/api/{route}",
@ -144,7 +144,7 @@
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7174
"Port": 8088
}
],
"UpstreamPathTemplate": "/api/{route}{id}",