Compare commits

...

2 commits

Author SHA1 Message Date
ac7be4f764 Merge branch 'front' of ssh://meowgit.nekoea.red:22222/nihonium/nyanimedb into front
All checks were successful
Build (frontend build only) / build (push) Successful in 2m37s
2025-12-20 02:40:26 +03:00
8f23d959e3 fix 2025-12-20 02:33:00 +03:00

View file

@ -62,7 +62,7 @@ export const SettingsPage: React.FC = () => {
const res = await postMediaUpload({
body: formData,
// Сбрасываем заголовок, чтобы браузер сам поставил multipart/form-data + boundary
headers: { "Content-Type": undefined as any },
headers: { "Content-Type": undefined as any, "X-XSRF-TOKEN": xsrfToken },
});
if (res.data && res.data.id) {