mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-09-18 11:42:42 +08:00
Rename all ReRoute to Route to move closer to YARP +semver: breaking
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
{
|
||||
"ReRoutes": [
|
||||
{
|
||||
"DownstreamPathTemplate": "/",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "jsonplaceholder.typicode.com",
|
||||
"Port": 80
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/graphql",
|
||||
"DelegatingHandlers": [
|
||||
"GraphQlDelegatingHandler"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"Routes": [
|
||||
{
|
||||
"DownstreamPathTemplate": "/",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "jsonplaceholder.typicode.com",
|
||||
"Port": 80
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/graphql",
|
||||
"DelegatingHandlers": [
|
||||
"GraphQlDelegatingHandler"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user