From e1bd477753e30d53e06a3d320db87f8a9f4db82d Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Tue, 11 Mar 2025 17:08:53 +0100 Subject: [PATCH] refactor(ocelet.json): konfiguriert --- ocelot.json | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) 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}",