Skip to content

Commit

Permalink
Merge pull request #241 from codestates-seb/BE
Browse files Browse the repository at this point in the history
[BE][Refactor] 인프라 리빌딩으로 인한 코드 수정
  • Loading branch information
Sniij authored May 25, 2023
2 parents d099616 + de7bd57 commit 2a753c8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private URI createURI(String accessToken, String refreshToken) {
.scheme("https")
//.scheme("http")
//.host("localhost")
.host("dowajoyak.shop")
.host("dowajoyak.store")
.port(443)
//.path("/receive-token.html")
.queryParams(queryParams)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ CorsConfigurationSource corsConfigurationSource() {

configuration.addAllowedOriginPattern("http://localhost:3000");
configuration.addAllowedOriginPattern("http://localhost:3001");
configuration.addAllowedOriginPattern("https://dowajoyak.shop");
configuration.addAllowedOriginPattern("https://www.dowajoyak.shop");
configuration.addAllowedOriginPattern("https://server.dowajoyak.shop");
configuration.addAllowedOriginPattern("https://www.dowajoyak.store");
configuration.addAllowedOriginPattern("https://dowajoyak.store");
configuration.addAllowedOriginPattern("https://server.dowajoyak.store");
configuration.addAllowedHeader("*");
configuration.setAllowedMethods(Arrays.asList("*"));
configuration.addExposedHeader("Authorization");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class CustomS3Client {
@Value("${cloud.aws.credentials.secretKey}")
String secretKey;
String region = "ap-northeast-2";
String bucketName = "dowajoyak.link";
String bucketName = "dowajoyak.image";

private final GenerateName generateName;

Expand Down
4 changes: 2 additions & 2 deletions server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spring:
cloud:
aws:
s3:
bucket: dowajoyak.shop
bucket: dowajoyak.store
region:
auto: false
static: ap-northeast-2
Expand All @@ -88,7 +88,7 @@ logging:

jwt:
key: ${jwt-secret}
access-token-expiration-minutes: 3
access-token-expiration-minutes: 30
refresh-token-expiration-minutes: 420

mail:
Expand Down

0 comments on commit 2a753c8

Please sign in to comment.