Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: publicUrl is not used in some urls #605

Merged
merged 3 commits into from Sep 30, 2022

Conversation

Monstrofil
Copy link
Contributor

In WMTS the publicUrl path was missed and it was not working properly.

Similar story about wmts.tmpl: the baseUrl is not working properly when
tileserver is hidden behind the proxy with different root path.

Oleksandr Shyshatskyi added 2 commits September 15, 2022 20:23
In WMTS the publicUrl path was missed and it was not working properly.
Similar story about wmts.tmpl: the baseUrl is not working properly when
tileserver is hidden behind the proxy with different root path.
@acalcutt
Copy link
Collaborator

acalcutt commented Sep 22, 2022

There are a few requests related to this, like #501 and #583 . Does anyone see any issues with this? it seems like it makes sense to me, but I'm not familiar enough with WMTS or the PublicURL option. I had 501 in my fork and it seemed to work fine (but again I didn't use WMTS)

Copy link
Collaborator

@acalcutt acalcutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I merged #501, so the PublicUrl portion of this has already been fixed. I think it makes sense to set baseUrl to be PublicUrl when the user has that option set. I also think changing the forward slashes to match the other templates makes sense.

@acalcutt acalcutt merged commit 38604c0 into maptiler:master Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants