hypertrace-ui icon indicating copy to clipboard operation
hypertrace-ui copied to clipboard

Feature: Add support for a different base URL

Open pratikborsadiya opened this issue 3 years ago • 1 comments

Use Case

I want to deploy UI behind a proxy on a sub URL. Like https://www.myurl.com/hypertrace

Problem

When the UI is deployed behind a sub URL all CSS and JS assets fail to load with 404 error as the base URL is specified as / in index.html

Proposal

Having an environment variable for base URL would solve the issue

pratikborsadiya avatar Dec 21 '22 07:12 pratikborsadiya

This could go in the helm config or both the helm config and dockerfile if using the image directly. Would accept PRs for either.

aaron-steinfeld avatar Dec 21 '22 13:12 aaron-steinfeld