diff --git a/space/core/services/file-upload.service.ts b/space/core/services/file-upload.service.ts index efb6cf946f7..09e95f3c0fa 100644 --- a/space/core/services/file-upload.service.ts +++ b/space/core/services/file-upload.service.ts @@ -16,6 +16,7 @@ export class FileUploadService extends APIService { "Content-Type": "multipart/form-data", }, cancelToken: this.cancelSource.token, + withCredentials: false, }) .then((response) => response?.data) .catch((error) => { diff --git a/web/core/services/file-upload.service.ts b/web/core/services/file-upload.service.ts index efb6cf946f7..09e95f3c0fa 100644 --- a/web/core/services/file-upload.service.ts +++ b/web/core/services/file-upload.service.ts @@ -16,6 +16,7 @@ export class FileUploadService extends APIService { "Content-Type": "multipart/form-data", }, cancelToken: this.cancelSource.token, + withCredentials: false, }) .then((response) => response?.data) .catch((error) => {