From 61e24efb414b5ecfd2cc1febf7b8dc111d86cafa Mon Sep 17 00:00:00 2001 From: Yifan Mai Date: Thu, 24 Oct 2024 13:56:28 -0700 Subject: [PATCH] Fix --- helm-frontend/src/utils/getBenchmarkEndpoint.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-frontend/src/utils/getBenchmarkEndpoint.ts b/helm-frontend/src/utils/getBenchmarkEndpoint.ts index 7c26d4ff9a..5fdf2a7994 100644 --- a/helm-frontend/src/utils/getBenchmarkEndpoint.ts +++ b/helm-frontend/src/utils/getBenchmarkEndpoint.ts @@ -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( /^\//,