Skip to content

Commit

Permalink
Chore: develop.webtoonchat cors add
Browse files Browse the repository at this point in the history
  • Loading branch information
resource777 committed Oct 31, 2023
1 parent a9564b7 commit 1122cca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/webtoonchat/toonchat/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public void addViewControllers(ViewControllerRegistry registry) {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:8080", "https://webtoonchat.com",
"http://localhost:3000", "https://www.webtoonchat.com", "https://dev.webtoonchat.com")
"http://localhost:3000", "https://www.webtoonchat.com", "https://dev.webtoonchat.com",
"https://develop.webtoonchat.com")
.allowedMethods("GET", "POST", "PATCH", "PUT", "OPTIONS", "DELETE")
.allowCredentials(true);
}
Expand Down

0 comments on commit 1122cca

Please sign in to comment.