Skip to content

Commit cd29f98

Browse files
committed
fix: CORS
1 parent 98a1e89 commit cd29f98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ public void addCorsMappings(CorsRegistry registry) {
1414
"http://localhost:3000",
1515
"http://localhost:5173",
1616
"http://front-deploy.s3-website.ap-northeast-2.amazonaws.com",
17-
"http://somemore-front.s3-website.ap-northeast-2.amazonaws.com/"
17+
"http://somemore-front.s3-website.ap-northeast-2.amazonaws.com/",
18+
"https://www.somemore.site/",
19+
"https://api.somemore.site/"
1820
)
1921
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
2022
.allowedHeaders("*")

0 commit comments

Comments
 (0)