diff --git a/ocelot.Development.json b/ocelot.Development.json index 8b85bc9..c4d4816 100644 --- a/ocelot.Development.json +++ b/ocelot.Development.json @@ -15,7 +15,7 @@ ] }, { - "DownstreamPathTemplate": "/swagger/{route}", + "DownstreamPathTemplate": "/swagger/auth/{route}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { @@ -64,18 +64,6 @@ "UpstreamPathTemplate": "/api/Auth/logout", "UpstreamhttpsMethod": [ "Post" ] }, - { - "DownstreamPathTemplate": "/api/Auth/user", - "DownstreamScheme": "https", - "DownstreamHostAndPorts": [ - { - "Host": "localhost", - "Port": 7103 - } - ], - "UpstreamPathTemplate": "/api/Auth/user", - "UpstreamhttpsMethod": [ "Get" ] - }, { "DownstreamPathTemplate": "/api/{route}", "DownstreamScheme": "https", @@ -94,7 +82,7 @@ ] }, { - "DownstreamPathTemplate": "/api/{route}/{id}", + "DownstreamPathTemplate": "/api/{route1}/{route2}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { @@ -102,9 +90,62 @@ "Port": 7103 } ], - "UpstreamPathTemplate": "/api/{route}{id}", + "UpstreamPathTemplate": "/api/{route1}/{route2}", "UpstreamhttpsMethod": [ "Get", + "Post", + "Put", + "Delete" + ] + }, + { + "DownstreamPathTemplate": "/", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 4200 + } + ], + "UpstreamPathTemplate": "/", + "UpstreamhttpsMethod": [ + "Get", + "Post", + "Put", + "Delete" + ] + }, + { + "DownstreamPathTemplate": "/{route}", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 4200 + } + ], + "UpstreamPathTemplate": "/{route}", + "UpstreamhttpsMethod": [ + "Get", + "Post", + "Put", + "Delete" + ] + }, + { + "DownstreamPathTemplate": "/{route1}/{route2}", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 4200 + } + ], + "UpstreamPathTemplate": "/{route1}/{route2}", + "UpstreamhttpsMethod": [ + "Get", + "Post", + "Put", "Delete" ] }