We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce381b6 commit 29648b6Copy full SHA for 29648b6
src/components/DataFileSelector.tsx
@@ -83,7 +83,7 @@ function DataFileSelector({ onDataProcessed }: DataFilesSelectorProps) {
83
setError('');
84
85
try {
86
- const response = await fetch(`/api/data-files/${encodeURIComponent(selectedFile)}/content`);
+ const response = await fetch(`/api/data-files/${encodeURIComponent(selectedFile)}`);
87
88
if (!response.ok) {
89
throw new Error(`Failed to load file: ${response.status} ${response.statusText}`);
0 commit comments