-
I try to set a Route in ocelot config file with information: "UpstreamPathTemplate": "/app1/{version}/{z}/{x}/{y}.{all}",
"DownstreamPathTemplate": "/{version}/{z}/{x}/{y}.png" With expectation it will match with: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It seemed the |
Beta Was this translation helpful? Give feedback.
-
Yes, it is wrong! "UpstreamPathTemplate": "/app1/{version}/{z}/{x}/{file}",
"DownstreamPathTemplate": "/{version}/{z}/{x}/{file}" Hope it helps! |
Beta Was this translation helpful? Give feedback.
@tle5
Yes, it is wrong!
You wrote incorrect templates, and
{all}
is not presented in downstream template!You need to define the route like this 👇
Hope it helps!