diff --git a/ocelot.json b/ocelot.json index c47e31e..ef1800c 100644 --- a/ocelot.json +++ b/ocelot.json @@ -9,7 +9,7 @@ "Port": 9090 } ], - "UpstreamPathTemplate": "/swagger/auth/{route}", + "UpstreamPathTemplate": "/swagger/{route}", "UpstreamHttpMethod": [ "Get" ] @@ -23,13 +23,13 @@ "Port": 8088 } ], - "UpstreamPathTemplate": "/swagger/{route}", + "UpstreamPathTemplate": "/swagger/auth/{route}", "UpstreamHttpMethod": [ "Get" ] }, { - "DownstreamPathTemplate": "/api/Auth/{route}", + "DownstreamPathTemplate": "/api/Auth/work-flow?cookie=false", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -37,14 +37,11 @@ "Port": 8088 } ], - "UpstreamPathTemplate": "/api/Auth/{route}", - "UpstreamHttpMethod": [ - "Get", - "Post" - ] + "UpstreamPathTemplate": "/api/Auth", + "UpstreamHttpMethod": [ "Post" ] }, { - "DownstreamPathTemplate": "/api/Auth/login/{id}", + "DownstreamPathTemplate": "/api/Auth/check", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -52,10 +49,8 @@ "Port": 8088 } ], - "UpstreamPathTemplate": "/api/Auth/login/{id}", - "UpstreamHttpMethod": [ - "Post" - ] + "UpstreamPathTemplate": "/api/Auth/check", + "UpstreamHttpMethod": [ "Post" ] }, { "DownstreamPathTemplate": "/api/{route}",