Skip to content

Commit

Permalink
fix: Modify redirect url (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeeun-Han committed Mar 23, 2024
1 parent 16584f2 commit 9a911d4
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 9a911d4

Please sign in to comment.