-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
query: pass queryURL along to the UI #4847
Conversation
cd5534c
to
d76e7b8
Compare
Pass `queryURL` to the UI to have proper URLs in the React UI. Without this, all URLs are set to `http://localhost:10902` i.e. the default value set in `config.ts`. Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
d76e7b8
to
e1a19b9
Compare
@squat this is needed for the next version to avoid broken links in targets/rules pages because the link is |
@GiedriusS can you rebase and we can merge? |
Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
Done 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Not sure why but after merging this, the changelog for #4848 is missing. |
Pass `queryURL` to the UI to have proper URLs in the React UI. Without this, all URLs are set to `http://localhost:10902` i.e. the default value set in `config.ts`. Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
Changes
Pass
queryURL
to the UI to have proper URLs in the React UI. Withoutthis, all URLs are set to
http://localhost:10902
i.e. the defaultvalue set in
config.ts
.Verification
Started Thanos via the quickstart script and checked that http://localhost:10904/rules, for example, has proper, clickable URLs.