add: credential true

This commit is contained in:
2025-10-01 10:49:05 +07:00
parent ef67cdd91c
commit d362c041ac

View File

@@ -22,6 +22,7 @@ async function ApiRequest({
"Accept-Language": "en_US", "Accept-Language": "en_US",
...(isFormData ? {} : { "Content-Type": "application/json" }), ...(isFormData ? {} : { "Content-Type": "application/json" }),
}, },
withCredentials: true,
}; };
// handle download (doc) // handle download (doc)