Web UI ignores SERVER_SERVLET_CONTEXT_PATH environment variable after #2153 #2346
Labels
scope/frontend
status/accepted
An issue which has passed triage and has been accepted
status/confirmed
A bug which actuality is confirmed
type/bug
Something isn't working
type/regression
Something that has been previously fixed but got broken again
Milestone
Describe the bug
Before #2153 was merged Kafka UI used to render pages using base path as set by
SERVER_SERVLET_CONTEXT_PATH
(i.e./kafka-ui
in our case).After #2153
index.html
returns links to resources without the base pathSet up
How do you run the app? Please provide as much info as possible:
Docker container created from
provectuslabs/kafka-ui:1b71ccb9755041e18ff540d5c57318243b38876d
imageSteps to Reproduce
Steps to reproduce the behavior:
SERVER_SERVLET_CONTEXT_PATH=/kafka-ui
environment variablecurl -sS http://localhost:8080/kafka-ui/
/kafka-ui/
prefixExample:
Expected behavior
Links should include prefix specified in
SERVER_SERVLET_CONTEXT_PATH
environment variableExample:
Additional context
The image from the prior commit works as expected -
provectuslabs/kafka-ui:d859dd6b3f4bcdcc9143a2e02695eca95be0fd9f
The text was updated successfully, but these errors were encountered: