Add as_csv=true to fetch URL to get CSV format
This commit is contained in:
parent
d2c2e2fe63
commit
0f8a50caf2
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue