mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-20 07:58:16 +08:00
Rename all ReRoute to Route to move closer to YARP +semver: breaking
This commit is contained in:
@ -1,18 +1,18 @@
|
||||
{
|
||||
"ReRoutes": [
|
||||
{
|
||||
"DownstreamPathTemplate": "/service/stats/collected",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 5100
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/stats/collected"
|
||||
}
|
||||
],
|
||||
"GlobalConfiguration": {
|
||||
"BaseUrl": "http://localhost:5000"
|
||||
}
|
||||
{
|
||||
"Routes": [
|
||||
{
|
||||
"DownstreamPathTemplate": "/service/stats/collected",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 5100
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/stats/collected"
|
||||
}
|
||||
],
|
||||
"GlobalConfiguration": {
|
||||
"BaseUrl": "http://localhost:5000"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user