Compare commits
No commits in common. "ac7be4f764c65bd46fb5e979dd0746f8d1b64ea1" and "63b3435117ea1b3bda80eedc6f4c53670475cff9" have entirely different histories.
ac7be4f764
...
63b3435117
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ export const SettingsPage: React.FC = () => {
|
||||||
const res = await postMediaUpload({
|
const res = await postMediaUpload({
|
||||||
body: formData,
|
body: formData,
|
||||||
// Сбрасываем заголовок, чтобы браузер сам поставил multipart/form-data + boundary
|
// Сбрасываем заголовок, чтобы браузер сам поставил multipart/form-data + boundary
|
||||||
headers: { "Content-Type": undefined as any, "X-XSRF-TOKEN": xsrfToken },
|
headers: { "Content-Type": undefined as any },
|
||||||
});
|
});
|
||||||
|
|
||||||
if (res.data && res.data.id) {
|
if (res.data && res.data.id) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue