fix(storage): reduce presigned URL expiry from 7 days to 1 day
This commit is contained in:
@@ -125,7 +125,7 @@ class S3Storage:
|
|||||||
return self._client.generate_presigned_url(
|
return self._client.generate_presigned_url(
|
||||||
"get_object",
|
"get_object",
|
||||||
Params={"Bucket": self.bucket, "Key": k},
|
Params={"Bucket": self.bucket, "Key": k},
|
||||||
ExpiresIn=604800,
|
ExpiresIn=86400,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user