Skip to content

Commit 1d5bd5c

Browse files
authored
fix: CORS 해결 (#127)
- 프론트 배포 주소 변경
1 parent 3203669 commit 1d5bd5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/somemore/global/configure/WebConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ public void addCorsMappings(CorsRegistry registry) {
1313
.allowedOrigins(
1414
"http://localhost:3000",
1515
"http://localhost:5173",
16-
"http://front-deploy.s3-website.ap-northeast-2.amazonaws.com"
16+
"http://front-deploy.s3-website.ap-northeast-2.amazonaws.com",
17+
"http://somemore-front.s3-website.ap-northeast-2.amazonaws.com/"
1718
)
1819
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
1920
.allowedHeaders("*")

0 commit comments

Comments
 (0)