Skip to content

Commit

Permalink
Merge pull request #138 from SportsEcho/dev1
Browse files Browse the repository at this point in the history
SportsEcho V0.1.3 배포
  • Loading branch information
zzzzseong committed Jan 30, 2024
2 parents e4d3923 + 6128155 commit 1101175
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class CorsConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOriginPatterns("http://localhost:3000", "http://sportsecho.life:3000")
.allowedOriginPatterns("http://localhost:3000", "http://sportsecho.life:3000", "https://sportsecho.life")
.exposedHeaders(JwtUtil.AUTHORIZATION_HEADER, JwtUtil.REFRESH_AUTHORIZATION_HEADER)
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedHeaders("*")
Expand Down

0 comments on commit 1101175

Please sign in to comment.