diff --git a/front/volume/src/components/Profile.svelte b/front/volume/src/components/Profile.svelte index 1702e84..c6726eb 100644 --- a/front/volume/src/components/Profile.svelte +++ b/front/volume/src/components/Profile.svelte @@ -37,7 +37,8 @@ try { const response = await fetch(api + '/avatar', { method: 'POST', - body: formData + body: formData, + mode: 'cors' }); const data = await response.json();