This commit is contained in:
suraj.shenoy.b@gmail.com
2025-01-25 20:52:24 -06:00
parent eab06cb386
commit 1979e21955
3 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ const AudioTranscriber: React.FC = () => {
setError(null); setError(null);
try { try {
const response = await axios.post("http://localhost:8000/transcribe", formData, { const response = await axios.post("/api/transcribe", formData, {
headers: { headers: {
"Content-Type": "multipart/form-data", "Content-Type": "multipart/form-data",
}, },

View File

@@ -22,6 +22,6 @@
"@/*": ["./src/*"] "@/*": ["./src/*"]
} }
}, },
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "src/app/api/connectDB.js", "src/lib/utils.js", "src/app/(web)/account/page.jsx", "src/app/(panels)/suite/patient/account/page.jsx", "src/app/(panels)/suite/patient/dashboard/MedicationTable.jsx", "src/app/(panels)/suite/patient/dashboard/page.jsx", "src/app/api/transcribe/app.js", "src/components/ui/calendar.jsx"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "src/app/api/connectDB.js", "src/lib/utils.js", "src/app/(web)/account/page.jsx", "src/app/(panels)/suite/patient/account/page.jsx", "src/app/(panels)/suite/patient/dashboard/MedicationTable.jsx", "src/app/(panels)/suite/patient/dashboard/page.jsx", "src/app/api/transcribe/route.js", "src/components/ui/calendar.jsx"],
"exclude": ["node_modules"] "exclude": ["node_modules"]
} }