Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai committed Oct 24, 2024
1 parent 0400811 commit 61e24ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-frontend/src/utils/getBenchmarkEndpoint.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default function getBenchmarkEndpoint(path: string): string {
if (path.startsWith("http://") || path.startsWith("https://")) {
return path
return path;
}
return `${window.BENCHMARK_OUTPUT_BASE_URL.replace(/\/$/, "")}/${path.replace(
/^\//,
Expand Down

0 comments on commit 61e24ef

Please sign in to comment.