π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Prefer second hot bucket for export
Neeraj Guptaea1319b13b62
diff --git a/server/pkg/controller/file.go b/server/pkg/controller/file.goindex 4f923e8152..efa10d0ba0 100644--- a/server/pkg/controller/file.go+++ b/server/pkg/controller/file.go@@ -415,12 +415,9 @@ func (c *FileController) getSignedURLForType(ctx *gin.Context, fileID int64, obj// ignore lint unused inspectionfunc isCliRequest(ctx *gin.Context) bool {- // todo: (neeraj) remove this short-circuit after wasabi migration- return false// check if user-agent contains go-resty- //userAgent := ctx.Request.Header.Get("User-Agent")- //return strings.Contains(userAgent, "go-resty")-+ userAgent := ctx.Request.Header.Get("User-Agent")+ return strings.Contains(userAgent, "go-resty")}// getWasabiSignedUrlIfAvailable returns a signed URL for the given fileID and objectType. It prefers wasabi over b2