add: credential true
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user