mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-08-01 02:35:58 +08:00
more simplification is that a word
This commit is contained in:
@ -6,9 +6,9 @@ namespace Ocelot.Library.Infrastructure.Configuration
|
||||
{
|
||||
public Configuration()
|
||||
{
|
||||
Routes = new List<Route>();
|
||||
ReRoutes = new List<ReRoute>();
|
||||
}
|
||||
|
||||
public List<Route> Routes { get; set; }
|
||||
public List<ReRoute> ReRoutes { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,8 @@
|
||||
namespace Ocelot.Library.Infrastructure.Configuration
|
||||
{
|
||||
public class ReRoute
|
||||
{
|
||||
public string DownstreamTemplate { get; set; }
|
||||
public string UpstreamTemplate { get; set; }
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
namespace Ocelot.Library.Infrastructure.Configuration
|
||||
{
|
||||
public class Route
|
||||
{
|
||||
public string Downstream { get; set; }
|
||||
public string Upstream { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user