cmkcmk181 commented on issue #1859: URL: https://github.com/apache/servicecomb-java-chassis/issues/1859#issuecomment-656510363
content和body都有值,但是路由还是不生效。直接配置在microservice.yaml中是生效的  json格式如下: { "servicecomb": { "edge": { "filter": { "addHeader": { "enabled": true, "allowedHeaders": "Authorization" } } }, "http": { "dispatcher": { "edge": { "url": { "enabled": true, "pattern": "/(.*)", "mappings": { "authV1": { "prefixSegmentCount": 1, "path": "/api/auth/v1/.*", "microserviceName": "fw-auth", "versionRule": "1.0.0-2.0.0" } } } } } } } } ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
