mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
Add PATH_PREFIX to redirectToMigratedURL
Old grafana versions use this format, and it breaks with prometheus instances not mounted in the root directory.
This commit is contained in:
parent
f0f2ec7854
commit
64cfe2e7f5
File diff suppressed because one or more lines are too long
@ -927,7 +927,7 @@ function redirectToMigratedURL() {
|
||||
});
|
||||
});
|
||||
var query = $.param(queryObject);
|
||||
window.location = "/graph?" + query;
|
||||
window.location = PATH_PREFIX + "/graph?" + query;
|
||||
}
|
||||
|
||||
$(init);
|
||||
|
Loading…
Reference in New Issue
Block a user