-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
v0.21.0 broke web interface rendering #1022
Comments
@four43 I hit this same issues yesterday and I'm working on a fix. Thanks for the report. I should have a fix in soon. |
The hostName func is used to dynamically determine the hostName value in various API endpoints. The previous logic favored the Host value of request URL, but this value is often not set (i.e. when not operating behind a proxy). The default handling has been changed to return the request Host value if the request URL Host is not set. closes #1022
The hostName func is used to dynamically determine the hostName value in various API endpoints. The previous logic favored the Host value of request URL, but this value is often not set (i.e. when not operating behind a proxy). The default handling has been changed to return the request Host value if the request URL Host is not set. closes #1022
This was
I'm not a golang guy but I can roll my face around on the keyboard with the best of them. Gonna try and figure out what's what here... Okay so tags in go configure what's built, got it. It looks like there's a flag to turn off the UI, but I have I can pass whatever tags I want to Debug journal of saddness/noobness: When querying the index (or really, nothing, the just http://localhost:9090) all I get back is:
.... odd. Looking into your PR to see why... A query to
|
@four43 I haven't merged the PR into |
No, pretty basic config. Just using the Docker image. I was just struggling to build the image and to find it in your GitHub actions. I'm not terribly familiar with golang which is my main problem :) |
@four43 You can test the unreleased docker container (but with what's in |
How is that built? Is that in Github actions? |
Yes. Here's the action: https://github.com/go-spatial/tegola/actions/runs/12472282702/job/34810822636 The step is called "Publish docker edge container" |
Ah that's what I was missing. All those build args defaulted to not working for what I was trying to test. ANYWAY The important part was you got the fix! Thank you so much! |
@four43 glad it's working for you! We have one more bug fix then I will cut a patch release. |
I use the docker image
gospatial/tegola:v0.21.0
and the upgrade from 0.20.0 to 0.21.0 broke the web interface for me.It's making a request to
http://capabilities/mvt_world.json
(missing the localhost:9090 I have as my basepath). This results in a totally broken map. My layers still show correctly but the rest of the interactive maps is broken.The text was updated successfully, but these errors were encountered: