π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
2
Manav Rathi073d2c568427
diff --git a/web/packages/base/http.ts b/web/packages/base/http.tsindex 6a12185c56..6b43bb4e9a 100644--- a/web/packages/base/http.ts+++ b/web/packages/base/http.ts@@ -18,7 +18,8 @@ export const authenticatedRequestHeaders = async () => ({/*** Return headers that should be passed alongwith (almost) all unauthenticated- * `fetch` calls that we make to our API servers.+ * `fetch` calls that we make to our remotes like our API servers (museum), or+ * to presigned URLs that are handled by the S3 storage buckets themselves.** - The client package name.*/diff --git a/web/packages/gallery/services/upload/remote.ts b/web/packages/gallery/services/upload/remote.tsindex 3a2c652b12..b87291aec7 100644--- a/web/packages/gallery/services/upload/remote.ts+++ b/web/packages/gallery/services/upload/remote.ts@@ -6,6 +6,7 @@ import {authenticatedPublicAlbumsRequestHeaders,authenticatedRequestHeaders,ensureOk,+ publicRequestHeaders,retryAsyncOperation,retryEnsuringHTTPOk,type PublicAlbumsCredentials,@@ -327,7 +328,7 @@ export const _completeMultipartUpload = async (retryEnsuringHTTPOk(() =>fetch(completionURL, {method: "POST",- headers: { "Content-Type": "text/xml" },+ headers: { ...publicRequestHeaders(), "Content-Type": "text/xml" },body: reqBody,}),);