diff --git a/Properties/launchSettings.json b/Properties/launchSettings.json index 13f3425..ea78e85 100644 --- a/Properties/launchSettings.json +++ b/Properties/launchSettings.json @@ -23,7 +23,7 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": true, - "launchUrl": "swagger", + "launchUrl": "swagger/index.html", "applicationUrl": "https://localhost:7052;http://localhost:5028", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" diff --git a/ocelot.Development.json b/ocelot.Development.json index c47e31e..b16c0f1 100644 --- a/ocelot.Development.json +++ b/ocelot.Development.json @@ -2,72 +2,67 @@ "Routes": [ { "DownstreamPathTemplate": "/swagger/{route}", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 9090 + "Port": 7120 } ], - "UpstreamPathTemplate": "/swagger/auth/{route}", - "UpstreamHttpMethod": [ + "UpstreamPathTemplate": "/swagger/{route}", + "UpstreamhttpsMethod": [ "Get" ] }, { "DownstreamPathTemplate": "/swagger/{route}", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7192 } ], - "UpstreamPathTemplate": "/swagger/{route}", - "UpstreamHttpMethod": [ + "UpstreamPathTemplate": "/swagger/auth/{route}", + "UpstreamhttpsMethod": [ "Get" ] }, { - "DownstreamPathTemplate": "/api/Auth/{route}", - "DownstreamScheme": "http", + "DownstreamPathTemplate": "/api/Auth/work-flow?cookie=false", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7192 } ], - "UpstreamPathTemplate": "/api/Auth/{route}", - "UpstreamHttpMethod": [ - "Get", - "Post" - ] + "UpstreamPathTemplate": "/api/Auth", + "UpstreamhttpsMethod": [ "Post" ] }, { - "DownstreamPathTemplate": "/api/Auth/login/{id}", - "DownstreamScheme": "http", + "DownstreamPathTemplate": "/api/Auth/check", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7120 } ], - "UpstreamPathTemplate": "/api/Auth/login/{id}", - "UpstreamHttpMethod": [ - "Post" - ] + "UpstreamPathTemplate": "/api/Auth/check", + "UpstreamhttpsMethod": [ "Post" ] }, { "DownstreamPathTemplate": "/api/{route}", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7120 } ], "UpstreamPathTemplate": "/api/{route}", - "UpstreamHttpMethod": [ + "UpstreamhttpsMethod": [ "Get", "Post", "Put", @@ -76,15 +71,15 @@ }, { "DownstreamPathTemplate": "/api/{route}/{id}", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7120 } ], "UpstreamPathTemplate": "/api/{route}{id}", - "UpstreamHttpMethod": [ + "UpstreamhttpsMethod": [ "Get", "Delete" ]