Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: only set query url to localhost if config option is falsy
The `THANOS_QUERY_URL` constant is already assigned to `{{ .queryURL }}` in `public/index.html`. Remove this comparison, as it causes the `--alert.query-url` command line option to have no effect whatsoever. Fixes thanos-io#6370 Signed-off-by: Steffen Neubauer <stefreak@googlemail.com>
- Loading branch information