Closed Nactik closed 7 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
cmd/tegola/cmd/server.go | 0 | 3 | 0.0% | ||
<!-- | Total: | 7 | 10 | 70.0% | --> |
Totals | |
---|---|
Change from base Build b7ad33baf: | 0.006% |
Covered Lines: | 6575 |
Relevant Lines: | 14031 |
@Nactik nice! LMK when this is out of draft and I will give it a review.
@ARolek It should be good now :)
Just merged this into master. Great for contribution! Thank you.
Fix #904 - uri_prefix not taken into account for the UI
Hey there, here's a quick PR to fix the way tegola UI is served when sitting behind a reverse proxy. I still need to implement and fix test but the idea is here (I will implement them asap)
Changes:
proxy_protocol
(I can change it if you think of a better name) in the config file (config.toml
) to set a custom protocol that will be used to generate the URLs included in the capabilities endpoint responses. (Useful when working under a reverse proxy and when theX-Forwarded-Proto
is not a solution - Fix #134 )uri_prefix
from the request (server/viewer_embed.go
)vite
settings to include static file using a relative path