Skip to content

Commit

Permalink
🐛fix: fix add cors socket
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantaphocpython committed Nov 10, 2024
1 parent aa77d20 commit 71b24d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public void configureMessageBroker(MessageBrokerRegistry config) {
@Override
public void registerStompEndpoints(StompEndpointRegistry registry) {
registry.addEndpoint("/websocket")
.setAllowedOrigins("http://127.0.0.1:5500/", "http://localhost:3000/")
.setAllowedOrigins("http://127.0.0.1:5500/", "http://localhost:3000/", "https://wemeet-client.vercel.app")
.withSockJS();
}
}

0 comments on commit 71b24d9

Please sign in to comment.