Skip to content

Commit

Permalink
#524 [etc] presigned url 만료시간 단축
Browse files Browse the repository at this point in the history
#524 [etc] presigned url 만료시간 단축
  • Loading branch information
sohyundoh authored Oct 13, 2024
2 parents 8a889b1 + 50333a4 commit d667eb7
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
@Component
public class S3Service {

private static final List<String> IMAGE_EXTENSIONS = Arrays.asList("image/jpeg", "image/png", "image/jpg", "image/webp");
private static final Long MAX_FILE_SIZE = 5 * 1024 * 1024L;

private static final Long PRE_SIGNED_URL_EXPIRE_MINUTE = 120L; // 만료시간 2시간
private static final Long PRE_SIGNED_URL_EXPIRE_MINUTE = 1L; // 만료시간 2시간

private final String bucketName;
private final AwsConfig awsConfig;
Expand Down

0 comments on commit d667eb7

Please sign in to comment.