Skip to content

Commit

Permalink
[refactor] #133 - presigned URL의 만료 시간 늘리기 (#134)
Browse files Browse the repository at this point in the history
* [#133] remove: 삭제된 클래스 커밋

* [#133] refactor(FileService): URL의 유효시간 2시간으로 설정
  • Loading branch information
hoonyworld authored Jul 17, 2024
1 parent 8cadaa0 commit 915e628
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 30 deletions.

This file was deleted.

21 changes: 0 additions & 21 deletions src/main/java/com/beat/global/external/s3/domain/File.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private GeneratePresignedUrlRequest getGeneratePresignedUrlRequest(String bucket
private Date getPresignedUrlExpiration() {
Date expiration = new Date();
long expTimeMillis = expiration.getTime();
expTimeMillis += 1000 * 60 * 2;
expTimeMillis += 1000 * 60 * 60 * 2;
expiration.setTime(expTimeMillis);

return expiration;
Expand Down

0 comments on commit 915e628

Please sign in to comment.