Skip to content

Commit

Permalink
Merge pull request #55 from goormthon-Univ/feature/54
Browse files Browse the repository at this point in the history
fix: Modify redirect url
  • Loading branch information
chaeeun-Han committed Mar 23, 2024
2 parents 629b2af + 9a911d4 commit 20b8e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/beotkkot/qtudy/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http:https://localhost:3000", "https://www.qtudy.site")
.allowedOrigins("http:https://localhost:3000", "https://qtudy.site")
.allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH") // ํ—ˆ์šฉํ•  HTTP ๋ฉ”์„œ๋“œ ์„ค์ •
.allowCredentials(true); // Credential ํ—ˆ์šฉ ์—ฌ๋ถ€ ์„ค์ •
}
Expand Down

0 comments on commit 20b8e28

Please sign in to comment.