Browse Source

Merge pull request #1017 from colinin/fix-ocelot

fix(gateway): 修复ocelot接口路径配置
pull/1050/head
yx lin 1 year ago
committed by GitHub
parent
commit
300358dccc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.json

2
gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.json

@ -3585,7 +3585,7 @@
}, },
{ {
"DownstreamPathTemplate": "/api/files/{everything}", "DownstreamPathTemplate": "/api/files/{everything}",
"UpstreamPathTemplate": "/api/api/files/{everything}", "UpstreamPathTemplate": "/api/files/{everything}",
"UpstreamHttpMethod": [ "UpstreamHttpMethod": [
"GET", "GET",
"POST", "POST",

Loading…
Cancel
Save