mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-12-22 09:25:48 +08:00
Add ability to specify scheme of ServiceProviderConfiguration
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
}
|
||||
@@ -91,6 +92,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
}
|
||||
@@ -123,6 +125,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
}
|
||||
@@ -152,6 +155,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
}
|
||||
@@ -184,6 +188,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
}
|
||||
@@ -214,6 +219,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
}
|
||||
@@ -274,6 +280,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
},
|
||||
@@ -295,6 +302,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user