fix(ui): Remove .env commited by accident in #4612 #5535
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
We were testing out the new 0.23.0 release and found out that when we try to deploy the Docker image in a charm, parca starts, but the UI isn't able to reach the backend:
Troubleshooting
It looks like the UI is trying to reach the backend at
localhost:7070
:This path also appears in the minified sources:
My guess is that it's coming from an
.env
file that's part of PR #4612: https://github.com/parca-dev/parca/pull/4612/files#diff-a87fe5ff9949176705be7bff417acf6bec9355fdda9d1bc0fa9c8910e5666381R1 - given the whole PR is mostly bumping dependencies, I assume this was added by accident.Solution
Remove the
.env
file. It looks like for the docker images to work, a new release might be needed.