From 906c6066e311a760bf85e55b64ea4e2a5e3ac8da Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 5 Feb 2026 11:06:10 +0700 Subject: [PATCH] fix: upload file --- src/components/Dialogs/DialogDebug.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Dialogs/DialogDebug.vue b/src/components/Dialogs/DialogDebug.vue index 917151c0e..94c5c349f 100644 --- a/src/components/Dialogs/DialogDebug.vue +++ b/src/components/Dialogs/DialogDebug.vue @@ -145,9 +145,9 @@ async function uploadProfile(code: string) { async function uploadFileDoc(uploadUrl: string, file: any) { try { await axios.put(uploadUrl, file, { - headers: { - "Content-Type": file.type, - }, + // headers: { + // "Content-Type": file.type, + // }, }); } catch (e) { messageError($q, e);