fix error sharing image and failing to upload, fix upload in webkit/safari, and test it

This commit is contained in:
2024-08-08 08:51:25 -06:00
parent c8bdaa10eb
commit bdb544a624
9 changed files with 104 additions and 13 deletions

View File

@@ -350,6 +350,7 @@ export default class PhotoDialog extends Vue {
const token = await accessToken(this.activeDid);
const headers = {
Authorization: "Bearer " + token,
// axios fills in Content-Type of multipart/form-data
};
const formData = new FormData();
if (!this.blob) {