Skip to content

Commit

Permalink
Merge pull request #83 from Leets-Official/feat/#82/cors
Browse files Browse the repository at this point in the history
Feat #83 웹소켓 CORS 해제
  • Loading branch information
hyxklee authored Feb 4, 2025
2 parents d8a0878 + 861c824 commit f6c7d12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void registerStompEndpoints(StompEndpointRegistry registry) {
registry
.setErrorHandler(stompExceptionHandler)
.addEndpoint("/ws")
.setAllowedOriginPatterns("http://localhost:3000")
.setAllowedOriginPatterns("http://localhost:3000", "https://*.amplifyapp.com", "https://gachtaxi.site")
.withSockJS();
}

Expand Down

0 comments on commit f6c7d12

Please sign in to comment.