mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
vmui: fix default server path (#2511)
This commit is contained in:
parent
ed8e88af11
commit
da04e9d1de
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
||||||
export const getDefaultServer = (): string => {
|
export const getDefaultServer = (): string => {
|
||||||
return window.location.href.replace(/\/(?:prometheus\/)?(?:graph|vmui)\/.*/, "/prometheus/");
|
return window.location.href.replace(/\/(?:prometheus\/)?(?:graph|vmui)\/.*/, "/prometheus");
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue