Skip to content

Conversation

@moongladestorm
Copy link

X-Forwarded-Path is already supported in e.g. getTileUrls() from utils.js, but missing in other places.

This fixes the urls with X-Forwarded-Path for all templates (data.tmpl, viewer.tmpl, index.tmpl, wmts.tmpl).

This pull request adds support to the public_url from serveTemplate() function, used by data.tmpl, viewer.tmpl and index.tmpl. Additionally it adds support to baseUrl from serving wmts.xml.

@acalcutt
Copy link
Collaborator

acalcutt commented Feb 5, 2025

Don't the other pages do this through utils.js instead of doing it themselves? I thought here was a function to create the public url. I will look later when i have some time.

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.

2 participants