Skip to content

Commit fe57abe

Browse files
authored
[Benchmarks] Fix loading dashboard charts (#20306)
1 parent a67445c commit fe57abe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

devops/scripts/benchmarks/html/scripts.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,9 +1803,10 @@ function loadData() {
18031803
loadingIndicator.classList.remove('hidden'); // Show loading indicator
18041804

18051805
if (typeof remoteDataUrl !== 'undefined' && remoteDataUrl !== '') {
1806-
console.log('Using remote data URL:', remoteDataUrl);
1806+
url = remoteDataUrl.endsWith('/') ? remoteDataUrl + 'data.json' : remoteDataUrl + '/data.json';
1807+
console.log('Using remote data URL:', url);
18071808
// Fetch data from remote URL
1808-
fetchAndProcessData(remoteDataUrl);
1809+
fetchAndProcessData(url);
18091810
} else {
18101811
console.log('Using local canonical data');
18111812
if (!Array.isArray(window.benchmarkRuns)) {

0 commit comments

Comments
 (0)