fixed upload VTT json problem

This commit is contained in:
2026-01-03 00:23:03 +01:00
parent d0145a49d0
commit cebd9b1652
3 changed files with 118 additions and 9 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export default {
if (this.file_csv) formData.append("file_csv", this.file_csv);
const token = localStorage.getItem("token"); // Get token from storage
const response = await API.post("/api/upload", formData, {
const response = await API.post("/api/importer/upload", formData, {
headers: {
"Content-Type": "multipart/form-data",
"Authorization": `Bearer ${token}`, // Include token in the header