setup vite proxy for development

This commit is contained in:
Joel Mathew Thomas
2025-03-18 01:53:53 +05:30
parent 40b71c3fdb
commit ba18a7a27f
3 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ function UploadPage() {
file_uuid: string;
sr: number;
audio_class: string;
}>("http://127.0.0.1:8000/api/upload", formData, {
}>("/api/upload", formData, {
headers: {
"Content-Type": "multipart/form-data",
},