Replies: 1 comment 1 reply
-
To change the url, you need to change the request headers as for example with nginx: There is also the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, in my app I do proxy (using Hono) to verify if user has access to requested data (using a middleware and token cookie):
(on localhost:8000 is my Martin server)
However what Martin returns in tilejson looks like:
"tilejson":"3.0.0","tiles":["http://localhost:8000/europe/{z}/{x}/{y}"]
So it's still localhost:8000 and my clients try to connect to that url, but should to that outgoing hono's app (so like
https://maps.example.com/map/main/z/x/y
)How to tell Martin that the data is available from another URL for the world and it should send the correct address?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions