Skip to content

Commit 4253df9

Browse files
Refactor API endpoint URL in graphs.js
1 parent 2d68173 commit 4253df9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/static/js/graphs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function fetchDataAndRenderCharts() {
1212
console.log('Stored Filter Value:', storedFilterValue);
1313

1414
// Fetch data with the selected time filter
15-
fetch(`/api/v3/prometheus/graphs_data?filter=${storedFilterValue}`)
15+
fetch(`/api/v1/prometheus/graphs_data?filter=${storedFilterValue}`)
1616
.then(response => response.json())
1717
.then(data => {
1818
const cpuData = data.cpu;

0 commit comments

Comments
 (0)