Skip to content

[web] Fix links for cases when serving behind reverse-proxy with non-root path mapping - #1025

Merged
manugarg merged 4 commits into
mainfrom
fix_links
Mar 4, 2025
Merged

manugarg merged 4 commits into
mainfrom
fix_links

Conversation

@manugarg

@manugarg manugarg commented Mar 4, 2025 •

Copy link
Copy Markdown
Contributor

See #1024 for the description of the problem this PR solves.

  • Remove '/' prefix from the header links in most of the cases.
  • If current page is hosted at non-root URL, e.g. /probe/status, add '../' prefix for every depth level.
  • Note: we should eventually get rid of this possibility. Add a TODO to fix status page at /status.
  • Also, remove the "/" prefix from links on the /links and /artifacts pages.

@manugarg manugarg added this to the v0.14.0 milestone Mar 4, 2025
@manugarg
manugarg merged commit 57fa2b7 into main Mar 4, 2025
@manugarg
manugarg deleted the fix_links branch March 4, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant