From 0f8a50caf2d3a2311038f15553f85bbace86265b Mon Sep 17 00:00:00 2001 From: Manohar Gupta Date: Sun, 24 May 2026 00:03:04 +0530 Subject: [PATCH] Add as_csv=true to fetch URL to get CSV format --- packages/web/components/ProfileViewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/components/ProfileViewer.tsx b/packages/web/components/ProfileViewer.tsx index 9503d90..633d4eb 100644 --- a/packages/web/components/ProfileViewer.tsx +++ b/packages/web/components/ProfileViewer.tsx @@ -93,7 +93,7 @@ export function ProfileViewer() { console.log("fetchAndDisplayFile called:", path, name); setIsLoadingFile(true); try { - const url = `${API_BASE}${path}`; + const url = `${API_BASE}${path}?as_csv=true`; console.log("Fetching:", url); const res = await fetch(url); console.log("Response status:", res.status);