Skip to content

Commit

Permalink
chore: cors 설정(안드로이드 개발 애뮬레이터)
Browse files Browse the repository at this point in the history
  • Loading branch information
jihwan2da committed Feb 12, 2024
1 parent f25ebd0 commit 64d90f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/gloddy/server/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowCredentials(true)
.allowedOrigins(
"http://10.0.2.2:3000",
"http://localhost:3000",
"https://gloddy.vercel.app",
"http://gloddy.store:3000",
Expand Down

0 comments on commit 64d90f5

Please sign in to comment.